aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorChad Woolley <chad@pivotallabs.com>2010-02-06 22:33:45 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-02-06 21:40:22 -0800
commita4c32897585dde2b939b269f23ea537393e6fc0b (patch)
treeaba43d3a4a51eb387d863afeb29f96611e31fdbf /ci
parent03b192d1b4adec24caa4c345d868bcc8d18540b2 (diff)
downloadrails-a4c32897585dde2b939b269f23ea537393e6fc0b.tar.gz
rails-a4c32897585dde2b939b269f23ea537393e6fc0b.tar.bz2
rails-a4c32897585dde2b939b269f23ea537393e6fc0b.zip
remove all sudo references from CI build script
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'ci')
-rwxr-xr-xci/ci_build.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/ci/ci_build.rb b/ci/ci_build.rb
index a227902032..6dcff3149a 100755
--- a/ci/ci_build.rb
+++ b/ci/ci_build.rb
@@ -18,14 +18,8 @@ end
puts "[CruiseControl] Rails build"
build_results = {}
-# Install rubygems-update, so 'gem update --system' in cruise_config.rb auto-installs it on next build.
-# This is how you can auto-update rubygems without logging in to CI system
-rubygems_install_cmd = "sudo gem install rubygems-update -v 1.3.5 --no-ri --no-rdoc"
-puts "Running command: #{rubygems_install_cmd}"
-build_results[:install_rubygems_update] = system rubygems_install_cmd
-
# Install required version of bundler.
-bundler_install_cmd = "sudo gem install bundler -v 0.9.3 --no-ri --no-rdoc"
+bundler_install_cmd = "gem install bundler -v 0.9.3 --no-ri --no-rdoc"
puts "Running command: #{bundler_install_cmd}"
build_results[:install_bundler] = system bundler_install_cmd