remove all sudo references from CI build script
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
parent
03b192d1b4
commit
a4c3289758
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue