Permalink
Browse files

[CI] Remove RailTies temporary directory on every run

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 <jose.valim@gmail.com>
  • Loading branch information...
sikachu authored and josevalim committed Sep 18, 2010
1 parent b17b980 commit 1f6b0a554b945a02a08436bbd411ef95640b12ba
Showing with 1 addition and 0 deletions.
  1. +1 −0 ci/ci_build.rb
View
@@ -38,6 +38,7 @@ def rake(*tasks)
# 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"

0 comments on commit 1f6b0a5

Please sign in to comment.