just updated this wiki page:
http://www.rubygarden.org/ruby?RubyOnMacintosh
with:
···
building 1.6.8 on os x with readline, gdbm, tcltk, x11
download and install Apple’s X11 for OS X and its SDK. (
http://www.apple.com/macosx/x11 ) get fink (fink.sf.net) and
optionally, FinkCommander? front-end do fink selfupdate-cvs at prompt
or from FinkCommander? menus install fink packages for readline, gdbm,
tcltk, and system-x11 download 1.6.8 source from ruby-lang.org and put
it somewhere.
[optional] if you already have a 1.6.8 source project directory, run
these two commands in the project dir just to be safe. rm config.cache
make clean
then, CFLAGS=’-g -O2 -fno-common -I/sw/include -L/sw/lib
-I/usr/X11R6/include -L/usr/X11R6/lib’ ./configure
make sudo make install ranlib /path/to/libruby.a ( something like
/usr/local/lib/ruby/1.6/powerpc-darwin6.x/libruby.a )
the only problem is, I haven’t been able to get rubycocoa to use this
build yet, it gives me a segmentation fault. rubycocoa works fine with
the ruby 1.6.7-3 from fink, though.
digibren