Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ruby 1.9 compat: use String#each_line instead of #each

  • Loading branch information...
commit 922c528d428b5ab08611976dfe0037875a4bf387 1 parent b302e02
@jeremy jeremy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ci/ci_build.rb
View
4 ci/ci_build.rb
@@ -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 }
Please sign in to comment.
Something went wrong with that request. Please try again.