Use an env var to expand the CI bundle. Using bundler's 'only' includes this stuff for everybody, oops.
This commit is contained in:
parent
a7dc7cd0c4
commit
aef7e214bd
2
Gemfile
2
Gemfile
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue