Hi:

I have installed ruby on maxosx, but am having trouble with
getting irb to run.

I used fink at first, but irb would not run. I then uninstalled
ruby and installed 1.6.7 manually with the following commands:

./configure --prefix=/sw --with-sitedir=/sw/lib/ruby/site_ruby

When I run irb I get the following error:
% irb 
/sw/lib/ruby/1.6/irb/completion.rb:10:in `require': No such file to load -- readline (LoadError)
        from /sw/lib/ruby/1.6/irb/completion.rb:10
        from /sw/lib/ruby/1.6/irb/init.rb:197:in `require'
        from /sw/lib/ruby/1.6/irb/init.rb:197:in `load_modules'
        from /sw/lib/ruby/1.6/irb/init.rb:195:in `each'
        from /sw/lib/ruby/1.6/irb/init.rb:195:in `load_modules'
        from /sw/lib/ruby/1.6/irb.rb:52:in `start'
        from /sw/bin/irb:13


It appears that readline is not installed:

% find /sw/lib -name readline\*
--returns nothing

This install method worked fine on FreeBSD and installed readline.so:

% find ruby/ -name readline\*
ruby/lib/ruby/1.6/i386-freebsd4.6/readline.so


Can someone tell me how to get readline installed.

Thanks
-- 
Jim Freeze
If only I had something clever to say for my comment...
~