Quick fix
Remove all the manually installed packages:
$ rm -rf $rvm_path/usrFind the requirements (follow the instructions):
$ rvm requirementsReinstall ruby:
$ rvm reinstall 1.9.3
Iconv
require "iconv" # => false ?!
If you have issues with iconv not being available in ruby / irb please try install the ruby you want with the procedure explained below.
$ rvm pkg install iconv $ rvm reinstall 1.9.2 --with-iconv-dir=$rvm_path/usr
This effectively installs a fresh copy of iconv, sandboxed to the ~/.rvm/usr directory, and tells ruby to use it during the compile.
In case of compilation problems try:
$ rvm --skip-autoreconf pkg install iconv