G
gabriele renzi
Hi gurus and nubys,
it is normal that IRB in latest pragprog is:
C:\Documents and Settings\gabriele>irb -v
irb 0.9(02/07/03)
if that is true and I've not messed up something,
this happens to me:
irb(main):001:0> %s.#{boom}.
C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-token.rb:101:in `Token':
undefined metho
d `ancestors' for nil:NilClass (NoMethodError)
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:995:in
`identify_str
ing'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:914:in
`identify_quo
tation'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:667:in
`lex_int2'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:664:in
`call'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/slex.rb:234:in
`match_io'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/slex.rb:219:in
`match_io'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/slex.rb:73:in `match'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:277:in
`token'
... 7 levels...
from C:/Programmi/Ruby/lib/ruby/1.8/irb.rb:70:in `start'
from C:/Programmi/Ruby/lib/ruby/1.8/irb.rb:69:in `catch'
from C:/Programmi/Ruby/lib/ruby/1.8/irb.rb:69:in `start'
from ./irb:13
ruby -v says
ruby 1.8.1 (2003-12-25) [i386-mswin32]
running on windows xp pro
it is normal that IRB in latest pragprog is:
C:\Documents and Settings\gabriele>irb -v
irb 0.9(02/07/03)
if that is true and I've not messed up something,
this happens to me:
irb(main):001:0> %s.#{boom}.
C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-token.rb:101:in `Token':
undefined metho
d `ancestors' for nil:NilClass (NoMethodError)
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:995:in
`identify_str
ing'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:914:in
`identify_quo
tation'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:667:in
`lex_int2'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:664:in
`call'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/slex.rb:234:in
`match_io'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/slex.rb:219:in
`match_io'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/slex.rb:73:in `match'
from C:/Programmi/Ruby/lib/ruby/1.8/irb/ruby-lex.rb:277:in
`token'
... 7 levels...
from C:/Programmi/Ruby/lib/ruby/1.8/irb.rb:70:in `start'
from C:/Programmi/Ruby/lib/ruby/1.8/irb.rb:69:in `catch'
from C:/Programmi/Ruby/lib/ruby/1.8/irb.rb:69:in `start'
from ./irb:13
ruby -v says
ruby 1.8.1 (2003-12-25) [i386-mswin32]
running on windows xp pro