diff options
author | Chad Woolley <thewoolleyman@gmail.com> | 2010-02-01 18:35:15 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-02-02 10:17:50 -0800 |
commit | 2c978160d25ddacdc5bf4fb7a1de40654b318d1d (patch) | |
tree | a522e2eba7ae6362baa041ec4c4a704830487ee6 | |
parent | ff2d04a9ec43a8df9d63c69236feb4d82e0f59f0 (diff) | |
download | rails-2c978160d25ddacdc5bf4fb7a1de40654b318d1d.tar.gz rails-2c978160d25ddacdc5bf4fb7a1de40654b318d1d.tar.bz2 rails-2c978160d25ddacdc5bf4fb7a1de40654b318d1d.zip |
Fix invocation of system commands in ci script
Signed-off-by: Carl Lerche <carllerche@mac.com>
-rwxr-xr-x | ci/ci_build.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ci/ci_build.rb b/ci/ci_build.rb index c8f0f9946b..e571d6d5da 100755 --- a/ci/ci_build.rb +++ b/ci/ci_build.rb @@ -7,7 +7,11 @@ def root_dir end def rake(*tasks) - tasks.each { |task| return false unless system("bundle exec rake", task) } + tasks.each do |task| + cmd = "bundle exec rake #{task}" + puts "Running command: #{cmd}" + return false unless system(cmd) + end true end @@ -105,7 +109,8 @@ puts "[CruiseControl] #{`mysql --version`}" puts "[CruiseControl] #{`pg_config --version`}" puts "[CruiseControl] SQLite3: #{`sqlite3 -version`}" `gem env`.each_line {|line| print "[CruiseControl] #{line}"} -puts "[CruiseControl] Bundled gems:" +# Commented until bundler supports --list again +# puts "[CruiseControl] Bundled gems:" # `gem bundle --list`.each_line {|line| print "[CruiseControl] #{line}"} puts "[CruiseControl] Local gems:" `gem list`.each_line {|line| print "[CruiseControl] #{line}"} |