Hello,
I installed ruby 1.8.2 and irb as Kubuntu packages, but ran into problems with threading. The solution was to grab ruby from CVS, so now I'm running the stable snapshot of 1.9.0.
I notice that up arrow no longer works to scroll back through the command history in irb. My suspicion is that I have compiled Ruby without readline support. When I try to require 'irb/completion', I get this error:
irb(main):001:0> require 'irb/completion'
LoadError: no such file to load -- readline
from /usr/local/lib/ruby/1.9/irb/completion.rb:10:in `require'
from /usr/local/lib/ruby/1.9/irb/completion.rb:10
from (irb):1:in `irb_binding'
from /usr/local/lib/ruby/1.9/irb/workspace.rb:52:in `irb_binding'
from /usr/local/lib/ruby/1.9/irb/workspace.rb:52
Maybe IRB bug!!
I suspect ruby rather than irb because removing the irb package and reinstalling it has no effect. Does this sound likely? If so, how do I enable readline support?
Thanks,
-dB
···
--
David Brady
ruby-talk@shinybit.com
I'm having a really surreal day... OR AM I?