Hi everyone,
I'm trying to get irb to work with the latest Ruby.
1) First problem I get is ruby-token.rb:260:in `def_token': undefined
method `intern' for :TkCLASS:Symbol (NameError)
I changed
TkSymbol2Token[token_n.intern] = token_c
to read:
TkSymbol2Token[token_n] = token_c
and it *seems* to work.
2) However, any syntax error blows it out of the water. With 1.4.3 it
simply reports the error, but with the latest it dies:
irb(main):001:0> require "nosuchfile"
(irb):1:in `require': No such file to load -- nosuchfile (LoadError)
from (irb):1:in `irb_binding'
from /irb/workspace-binding.rb:56:in `irb_binding'
from /irb/workspace-binding.rb:56
Is this something simple?
Also, I am planning on documenting irb for the book -- would it be a
good idea to include it in the base distribution?
Thanks as always,
/\ndy