Skip to content

Commit

Permalink
remove all sudo references from CI build script
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information
thewoolleyman authored and jeremy committed Feb 7, 2010
1 parent 03b192d commit a4c3289
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ci/ci_build.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,14 +18,8 @@ def rake(*tasks)
puts "[CruiseControl] Rails build" puts "[CruiseControl] Rails build"
build_results = {} 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. # 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}" puts "Running command: #{bundler_install_cmd}"
build_results[:install_bundler] = system bundler_install_cmd build_results[:install_bundler] = system bundler_install_cmd


Expand Down

0 comments on commit a4c3289

Please sign in to comment.