Hello,
I have put together a script that will add the ruby readline module to the
default ruby install on OS X. The script requires that you have the
developer tools installed, because it includes the readline library in
/System/Library/PrivateFrameworks/readline.framework , but it doesn’t
include headers or a /usr/lib/libreadline* entry. the script installs
readline 4.1 headers in /usr/include, creates a /usr/lib/libreadline.dylib
symlink, and compiles and installs the ruby readline.bundle
The script is available here:
http://cherryville.org/files/ruby-readline.txt
or, you can grab the readline.bundle I have compiled (for 10.2.6), and put
it in /usr/lib/ruby/powerpc-darwin6.0 :
http://cherryville.org/files/readline.bundle
this makes irb much more pleasant.
Dave