From 1f6b0a554b945a02a08436bbd411ef95640b12ba Mon Sep 17 00:00:00 2001 From: Prem Sichanugrist Date: Sun, 19 Sep 2010 02:36:27 +0700 Subject: [PATCH] [CI] Remove RailTies temporary directory on every run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There was an error on CI regarding unable to require `arel` gem from source when testing application build for a while ago. It seems to me like there's a permission problem on the process of cloning the application and removing Gemfile. This would make sure that the temporary application got removed every time the build is run. Signed-off-by: José Valim --- ci/ci_build.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/ci_build.rb b/ci/ci_build.rb index 9539e47cdc..6bc0c69112 100755 --- a/ci/ci_build.rb +++ b/ci/ci_build.rb @@ -38,6 +38,7 @@ cd "#{root_dir}/activesupport" do # build_results[:activesupport_isolated] = rake 'test:isolated' end +system "sudo rm -R #{root_dir}/railties/tmp" cd "#{root_dir}/railties" do puts puts "[CruiseControl] Building RailTies"