It seems that readline (and hence gets) is broken in Ruby 1.8.7, on Mac
OS X 10.6 (Snow Leopard). According to the article here:
it says “Newer versions of the readline library prepend an “rl_” in
front of function names”.
Before I go to the trouble of removing Ruby and downloading, then
building Ruby from source, I wanted to ask if anyone here has another
method of fixing it?