Its been driving me nuts. The delete key doesn’t work in IRB (or Pry) on OSX!
Anyway, today I took a couple of minutes and tried this:
brew install readline
rvm install 1.9.2 --with-readline-dir=/usr/local/Cellar/readline/6.2.1
It works now. That’s seriously all I had to do. No patching required!
This is like the day I got the number pad working in all of Vim on OSX. And that was a wonderful day!
Its possible that installing readline with rvm might have the same effect, but I wanted readline to be readily available to other applications I installed as well.
Use whatever the current version of readline is for you. Do ls /usr/local/Cellar/readline/
to find it.
⦂∀