From: Jim Freeze Date: 2007-02-20T15:41:40+09:00 Subject: irb completion fails on Intel Mac with ruby-1.8.5 --Apple-Mail-1-373019802 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Building ruby-1.8.5-p12 on OS X 10.4 gave me an irb that supported command completion, but did not have support for vi_editing_mode. % irb irb(main):001:0> Readline.vi_editing_mode NotImplementedError: the vi_editing_mode() function is unimplemented on this machine from (irb):1:in `vi_editing_mode' from (irb): from :0 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: % irb 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/ i686-darwin8.8.2/readline.bundle 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? Thanks Jim --Apple-Mail-1-373019802--