Fixes a number of errors I found when using SublimeREPL's pry repl for ruby