I am having a problem installing Ruby 2.0.0-p0 using rbenv install on Ubuntu 12.04.2 LTS. I have clean version of Ubuntu 12.04.2 LTS running on Virtualbox.
I am getting this error and the build is failing. I think I read that the new RubyGems requires https.
I have tried rbenv install --with-openssl-dir=/usr/bin, but with no success.
The Ruby openssl extension was not compiled. Missing the OpenSSL lib?
My suspicion is that ruby-build isn’t finding system openssl.
I don't know about rbenv (I use rvm) but for rails with rvm you need
sudo apt-get install openssl
In fact the full set you need when using ror with rvm is, I believe
build-essential bison openssl libreadline6 libreadline6-dev curl git-core
zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf
libc6-dev ncurses-dev automake
libtool