aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rwxr-xr-xci/ci_build.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index e279eb00aa..1a4bba32c1 100644
--- a/Gemfile
+++ b/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"
diff --git a/ci/ci_build.rb b/ci/ci_build.rb
index b62cca09a5..453479d605 100755
--- a/ci/ci_build.rb
+++ b/ci/ci_build.rb
@@ -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