Permalink
Browse files

Use an env var to expand the CI bundle. Using bundler's 'only' includ…

…es this stuff for everybody, oops.
  • Loading branch information...
1 parent a7dc7cd commit aef7e214bd2484cd879d67bb92dda6314e0d6435 @jeremy jeremy committed Nov 10, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 Gemfile
  2. +1 −1 ci/ci_build.rb
View
@@ -20,7 +20,7 @@ gem "rack-test", ">= 0.5.0"
gem "erubis", ">= 2.6.5"
gem "RedCloth", ">= 4.2.2"
-only :ci do
+if ENV['CI']
gem "fcgi", ">= 0.8.7" if RUBY_VERSION <= '1.9.0'
gem "nokogiri", ">= 1.4.0"
gem "memcache-client", ">= 1.7.6"
View
@@ -25,7 +25,7 @@ def rake(*tasks)
puts
puts "[CruiseControl] Bundling RubyGems"
puts
- build_results[:bundle] = system 'rm -rf vendor && gem bundle --update'
+ build_results[:bundle] = system 'rm -rf vendor && env CI=1 gem bundle --update'
end
cd "#{root_dir}/activesupport" do

0 comments on commit aef7e21

Please sign in to comment.