From a4c32897585dde2b939b269f23ea537393e6fc0b Mon Sep 17 00:00:00 2001 From: Chad Woolley Date: Sat, 6 Feb 2010 22:33:45 -0700 Subject: remove all sudo references from CI build script Signed-off-by: Jeremy Kemper --- ci/ci_build.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'ci') 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 -- cgit v1.2.3