I have rbenv and ruby-build installed. $ rbenv install 2.0.0-p0
This downloads ruby 2.0.0-p0. It is not compiling and complains with the following error BUILD FAILED Inspect or clean up the working tree at /tmp/ruby-build.20130311095340.2322 Results logged to /tmp/ruby-build.20130311095340.2322.log Last 10 log lines: installing default gems: /home/scott/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0 (build_info, cache, doc, gems, specifications) bigdecimal 1.2.0 io-console 0.4.2 json 1.7.7 minitest 4.3.2 psych 2.0.0 rake 0.9.6 rdoc 4.0.0 test-unit 2.0.0.0 The Ruby openssl extension was not compiled. Missing the OpenSSL lib? OpenSSL is definitely installed on the system. $ openssl version OpenSSL 1.0.1 14 Mar 2012 It isn't clear to me how to tell rbenv to use this version of OpenSSL? On Monday, March 11, 2013 12:09:33 PM UTC-4, AmateurCoder 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? > > Thanks in advance. > -- 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. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/q3KtqtiU4RoJ. For more options, visit https://groups.google.com/groups/opt_out.