Skip to content

Commit

Permalink
Ruby 1.9 compat: use String#each_line instead of #each
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Feb 4, 2009
1 parent b302e02 commit 922c528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/ci_build.rb
Expand Up @@ -98,9 +98,9 @@
puts "[CruiseControl] #{`pg_config --version`}"
puts "[CruiseControl] SQLite2: #{`sqlite -version`}"
puts "[CruiseControl] SQLite3: #{`sqlite3 -version`}"
`gem env`.each {|line| print "[CruiseControl] #{line}"}
`gem env`.each_line {|line| print "[CruiseControl] #{line}"}
puts "[CruiseControl] Local gems:"
`gem list`.each {|line| print "[CruiseControl] #{line}"}
`gem list`.each_line {|line| print "[CruiseControl] #{line}"}

failures = build_results.select { |key, value| value == false }

Expand Down

0 comments on commit 922c528

Please sign in to comment.