[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>
This commit is contained in:
Prem Sichanugrist 2010-09-19 02:36:27 +07:00 committed by José Valim
parent b17b980a15
commit 1f6b0a554b
1 changed files with 1 additions and 0 deletions

View File

@ -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"