Update: I found almost exact similar question, yet it has slightly different prerequisites and thus doesn\'t help much.
Given:
RVM has issues with readline installed via homebrew. This gist worked perfectly for me:
$ rvm get latest $ rvm pkg install readline $ rvm install 1.9.3 --with-readline-dir=$rvm_path/usr
Instead of install you can use reinstall.
install
reinstall