I got the same error
But below me the configuration will start to work.
rvm pkg install iconv
rvm pkg install openssl
rvm reinstall 2.1.5 --with-openssl-dir=~/.rvm/usr --with-iconv-dir=~/.rvm/usr
It also worked while I did in Gemfile, replacing
source 'https://rubygems.org'
this line with
source 'http://rubygems.org'
source
share