Skip to content

Instantly share code, notes, and snippets.

@lstoldt
Created October 11, 2011 17:46
Show Gist options
  • Save lstoldt/1278828 to your computer and use it in GitHub Desktop.
Save lstoldt/1278828 to your computer and use it in GitHub Desktop.
JRuby Error
message = "something%sh: gimme: not found\r\n"
message = message.split('%')[1]
message.lines do |line|
puts line
# puts line.strip # also fails
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment