Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Removing railties/tmp folder on every CI build #33

Closed
wants to merge 1 commit into from

2 participants

@sikachu
Collaborator

(The last two pull request came with bad commit, sorry about that)

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.

This one is for master. I've also add change for 3-0-stable but would like to test if this one is working first.

Thank you

@sikachu sikachu [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.
ee1ba49
@jeremy
Owner

Hm. Not sure whether this should be in the ci runner or in the railties rakefile.

@sikachu
Collaborator

Hmm ... I think this patch somehow got applied on master which solved the problem. I actually forgot that I've open an issue here too. Thank you for stopping by :)

@tomstuart tomstuart referenced this pull request from a commit in econsultancy/rails
@ffmike ffmike Amend description of SQLite in Getting Started guide (#33) 89448b0
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 18, 2010
  1. @sikachu

    [CI] Remove RailTies temporary directory on every run

    sikachu authored
    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.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  ci/ci_build.rb
View
1  ci/ci_build.rb
@@ -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"
Something went wrong with that request. Please try again.