Permalink
Browse files

fix rubygems/bundler install in ci build script

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent 78de17c commit 09a88a347d1f94869b945dfaa47ca54dd1940d46 @thewoolleyman thewoolleyman committed with jeremy Feb 4, 2010
Showing with 6 additions and 2 deletions.
  1. +6 −2 ci/ci_build.rb
View
8 ci/ci_build.rb
@@ -20,10 +20,14 @@ def rake(*tasks)
# 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
-build_results[:geminstaller] = system "sudo gem install rubygems-update -v 1.3.5 --no-ri --no-rdoc"
+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.
-build_results[:geminstaller] = system "sudo gem install bundler -v 0.9.2 --prerelease --no-ri --no-rdoc"
+bundler_install_cmd = "sudo gem install bundler -v 0.9.2 --no-ri --no-rdoc"
+puts "Running command: #{bundler_install_cmd}"
+build_results[:install_bundler] = system bundler_install_cmd
cd root_dir do
puts

0 comments on commit 09a88a3

Please sign in to comment.