On 11 March 2013 16:09, AmateurCoder <amateurgol...@insightbb.com> wrote: > 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. > > Would anyone know how to fix this problem?
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 Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.