Building ruby-1.8.5-p12 on OS X 10.4 gave me an irb that
supported command completion, but did not have support
NotImplementedError: the vi_editing_mode() function is unimplemented
on this machine
from (irb):1:in `vi_editing_mode’
Which essentially meant it was stuck in emacs editing mode.
I then added readline from darwin ports and rebuilt ruby:
sudo port install readline
… install ruby
But, now I irb won’t even run:
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
Referenced from: /opt/local/ruby-1.8.5-p12/lib/ruby/site_ruby/1.8/
Expected in: flat namespace
My next attempt will be to install the gnu readline and retry.
But, while I do that, does anyone know if this is a known problem and
how to fix it?