Permalink
Browse files

bc/mp - Made gem runner proxy split its output on new lines. Gems tha…

…t had multiple matches (e.g. 'gdata') would return both gems in a single blog of text. This would cause find_remote_gem to erroneously match the first gem listed rather than the correct one.
  • Loading branch information...
Britt Crawford authored and thewoolleyman committed Jun 23, 2009
1 parent d4e8b8a commit eacdfda7eb2aa5c409bd266dd2d621c34eff02a1
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/geminstaller/gem_runner_proxy.rb
@@ -30,7 +30,9 @@ def run(args = [], stdin = [])
end
output_lines = @output_listener.read!
output_lines.push(exit_status) if exit_status
return output_lines
output_lines.collect do |line|
line.split("\n")
end.flatten
end

def create_gem_runner

0 comments on commit eacdfda

Please sign in to comment.