提交 a4c32897 编写于 作者: C Chad Woolley 提交者: Jeremy Kemper

remove all sudo references from CI build script

Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
上级 03b192d1
......@@ -18,14 +18,8 @@ def rake(*tasks)
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册