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:
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:inrequire’
load_modules' from /sw/lib/ruby/1.6/irb/init.rb:195:ineach’
load_modules' from /sw/lib/ruby/1.6/irb.rb:52:instart’
It appears that readline is not installed:
% find /sw/lib -name readline*
This install method worked fine on FreeBSD and installed readline.so:
% find ruby/ -name readline*
Can someone tell me how to get readline installed.
If only I had something clever to say for my comment…