Browse files

Fix invocation of system commands in ci script

Signed-off-by: Carl Lerche <>
  • Loading branch information...
1 parent ff2d04a commit 2c978160d25ddacdc5bf4fb7a1de40654b318d1d @thewoolleyman thewoolleyman committed with Carl Lerche Feb 2, 2010
Showing with 7 additions and 2 deletions.
  1. +7 −2 ci/ci_build.rb
@@ -7,7 +7,11 @@ def root_dir
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
@@ -105,7 +109,8 @@ def rake(*tasks)
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}"}

0 comments on commit 2c97816

Please sign in to comment.