Use an env var to expand the CI bundle. Using bundler's 'only' includes this stuff for everybody, oops.

This commit is contained in:
Jeremy Kemper 2009-11-10 15:28:25 -08:00
parent a7dc7cd0c4
commit aef7e214bd
2 changed files with 2 additions and 2 deletions

View File

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

@ -25,7 +25,7 @@ cd root_dir do
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