Encoding in Ruby 18 #133

flyerhzm opened this Issue Feb 24, 2014 · 3 comments


2 participants

I tried parser in ruby 1.8.7, ree 2012.02, got the following error

ruby18.y:1916:in `default_encoding': uninitialized constant Parser::Ruby18::Encoding (NameError)

There is no Encoding class in ruby 1.8


whitequark commented Feb 24, 2014

Fixed in master. Let me know if you need a bugfix release! The bug only affected the command-line runner.

Sorry I didn't leave a detailed description.

I called Parser::CurrentRuby.parse(str) manually where parser calls parser.default_encoding internally.


whitequark commented Feb 24, 2014

Released 2.1.5 with bugfix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment