diff options
author | Chad Woolley <thewoolleyman@gmail.com> | 2010-02-04 15:57:13 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 14:59:04 -0800 |
commit | 09a88a347d1f94869b945dfaa47ca54dd1940d46 (patch) | |
tree | 323086587423e196874634ff284d8ac1b1ef2bcb /ci | |
parent | 78de17cf7095af8e86d192af8d8fbe21e6f193d9 (diff) | |
download | rails-09a88a347d1f94869b945dfaa47ca54dd1940d46.tar.gz rails-09a88a347d1f94869b945dfaa47ca54dd1940d46.tar.bz2 rails-09a88a347d1f94869b945dfaa47ca54dd1940d46.zip |
fix rubygems/bundler install in ci build script
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/ci_build.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ci/ci_build.rb b/ci/ci_build.rb index b70d59fad4..bf47484320 100755 --- a/ci/ci_build.rb +++ b/ci/ci_build.rb @@ -20,10 +20,14 @@ 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 -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 |