aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-02 20:08:32 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-02 20:08:43 -0800
commitca990b03cc24a132211d0de8fb9dc2f975d904ca (patch)
tree23f55844fa68d480d579e49f566ad00cb581235e /ci
parentd226f17507805c145cc7a1727d46714b88910094 (diff)
downloadrails-ca990b03cc24a132211d0de8fb9dc2f975d904ca.tar.gz
rails-ca990b03cc24a132211d0de8fb9dc2f975d904ca.tar.bz2
rails-ca990b03cc24a132211d0de8fb9dc2f975d904ca.zip
Work around rebundling issue
Diffstat (limited to 'ci')
-rwxr-xr-xci/ci_build.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/ci/ci_build.rb b/ci/ci_build.rb
index b2f9f59bec..a6f8871f27 100755
--- a/ci/ci_build.rb
+++ b/ci/ci_build.rb
@@ -16,13 +16,11 @@ root_dir = File.expand_path(File.dirname(__FILE__) + "/..")
# A security hole, but there is nothing valuable on rails CI box anyway.
build_results[:geminstaller] = system "sudo geminstaller --config=#{root_dir}/ci/geminstaller.yml --exceptions"
-rm_f "#{root_dir}/vendor"
-system "rm -rf #{root_dir}/*/vendor"
cd root_dir do
puts
puts "[CruiseControl] Bundling RubyGems"
puts
- build_results[:bundle] = system 'gem bundle'
+ build_results[:bundle] = system 'rm -rf vendor && gem bundle'
end
cd "#{root_dir}/activesupport" do