AmateurCoder
2013-Mar-11 16:09 UTC
Installing Ruby 2.0.0-p0 using Rbenv on Ubuntu 12.04.2 LTS
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/RNhhXmiwjfEJ. For more options, visit https://groups.google.com/groups/opt_out.
Nicolas Desprès
2013-Mar-11 16:30 UTC
Re: Installing Ruby 2.0.0-p0 using Rbenv on Ubuntu 12.04.2 LTS
On Mon, Mar 11, 2013 at 5:09 PM, AmateurCoder <amateurgolfer-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org>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? >Could you give us more hints on what you have done, please? Which steps did you follow? What errors did you get? Start by telling us what you have when you type rbenv install 2.0.0-p0 -- Nicolas Desprès -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2013-Mar-11 16:32 UTC
Re: Installing Ruby 2.0.0-p0 using Rbenv on Ubuntu 12.04.2 LTS
On 11 March 2013 16:09, AmateurCoder <amateurgolfer-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
AmateurCoder
2013-Mar-11 19:27 UTC
Re: Installing Ruby 2.0.0-p0 using Rbenv on Ubuntu 12.04.2 LTS
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
AmateurCoder
2013-Mar-11 19:34 UTC
Re: Installing Ruby 2.0.0-p0 using Rbenv on Ubuntu 12.04.2 LTS
On Monday, March 11, 2013 12:32:24 PM UTC-4, Colin Law wrote:> > On 11 March 2013 16:09, AmateurCoder <amateu...-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org<javascript:>> > 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/MUisReeGYcAJ. For more options, visit https://groups.google.com/groups/opt_out.
Nicolas Desprès
2013-Mar-11 20:35 UTC
Re: Re: Installing Ruby 2.0.0-p0 using Rbenv on Ubuntu 12.04.2 LTS
On Mon, Mar 11, 2013 at 8:27 PM, AmateurCoder <amateurgolfer-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org>wrote:> 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 last 10 log lines do not help. Can you send post the log file if it is not too long or send it to me?> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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. > > >-- Nicolas Desprès -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2013-Mar-11 20:35 UTC
Re: Re: Installing Ruby 2.0.0-p0 using Rbenv on Ubuntu 12.04.2 LTS
On 11 March 2013 19:27, AmateurCoder <amateurgolfer-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org> wrote:> 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?Is libssl-dev installed? Colin> > > > > > 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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. > >-- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Micha R.
2013-May-29 08:45 UTC
Re: Re: Installing Ruby 2.0.0-p0 using Rbenv on Ubuntu 12.04.2 LTS
Colin Law wrote in post #1101136:> On 11 March 2013 19:27, AmateurCoder <amateurgolfer-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org> > wrote: >> Results logged to /tmp/ruby-build.20130311095340.2322.log >> rake 0.9.6 >> >> >> It isn''t clear to me how to tell rbenv to use this version of OpenSSL? > > Is libssl-dev installed? > > ColinThanks, installing libssl-dev worked for me (Rbenv on Ubuntu 12.04.2 LTS) Micha -- Posted via http://www.ruby-forum.com/. -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8a48c6ba6fafc2585084cb0ba3c97dd5%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.