From 2c978160d25ddacdc5bf4fb7a1de40654b318d1d Mon Sep 17 00:00:00 2001 From: Chad Woolley Date: Mon, 1 Feb 2010 18:35:15 -0700 Subject: Fix invocation of system commands in ci script Signed-off-by: Carl Lerche --- ci/ci_build.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ci') 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}"} -- cgit v1.2.3