Closed anatol closed 4 years ago
It depends on IRB's parser but IRB's parser is rewritten in the recent IRB. So we need to rewrite our parser.
Yeah, Arch uses the latest version of IRB. And btw IRB been decoupled from ruby core recently and moved to a separate project.
irb uses/has a parser which interprets Ruby syntax, and it has RubyToken module. But Ruby 2.7 rewrite irb to use another parser (ripper) and it (and irb 1.2.0) removes the module
Thank you very much for this information.
It sounds like ruby-gettext
gem should add a versioned gem dependency to irb s.add_runtime_dependency("irb", "~> 1.1.0")
I've implemented and released 3.3.0.
Thank you a lot! Does it mean that gettext does not depend on 'irb' gem anymore?
Yes.
I am running
gitlab
at Arch Linux with ruby 2.6 installed and see following warning:Debugging it a little bit more I found that it came from bundled
gettext
. I added more debug entries to the source code and found that it cannot find classRubyToken
:Could you please help me to understand where class
RubyToken
suppose to come from?