Cannot install Ruby 2.2.3 in ubuntu 14.04 #1884
Replies: 37 comments
-
Have you installed the suggested Ubuntu packages? Installing |
Beta Was this translation helpful? Give feedback.
-
Having the same problem on a fresh 14.04 install. libssl-dev installed. Also happening for me on 2.2.2. Following the process here: https://gist.github.com/thepoho/26e8d8d1ead67bd6ca51 |
Beta Was this translation helpful? Give feedback.
-
@mislav |
Beta Was this translation helpful? Give feedback.
-
Now I also did
Thank you |
Beta Was this translation helpful? Give feedback.
-
Same issue here with fresh ubuntu 14.04 install. |
Beta Was this translation helpful? Give feedback.
-
I could not reproduce this issue with ubuntu 14.04.3 @bhargavmehta @thepoho @zeke8402 |
Beta Was this translation helpful? Give feedback.
-
Same issue here with Debian Strech. |
Beta Was this translation helpful? Give feedback.
-
@zeke8402 Your linux boxes with vagrant seems to be broken. My linux server shows different version of libssl-dev under What's name or url your vagrant box? |
Beta Was this translation helpful? Give feedback.
-
@zeke8402 |
Beta Was this translation helpful? Give feedback.
-
Right, I do not have the latest |
Beta Was this translation helpful? Give feedback.
-
Thank you for your pointing. I can reproduce this issue with debian stretch. Some beta distribution will disable but ubuntu xenial supports @mislav this issue is caused distribution policies. Ruby core team will release Ruby 2.2.4 and 2.1.8 before 2016. |
Beta Was this translation helpful? Give feedback.
-
This seems to be a cross-plateform issue. I'm running an up-to-date Debian stretch with all the dependencies I usually need, and I too fail to install ruby 2.2.3 using rbenv.
|
Beta Was this translation helpful? Give feedback.
-
Could everyone who's having this problem try this patch as a workaround? curl -fsSL https://gist.github.com/mislav/055441129184a1512bb5.txt | rbenv install --patch 2.2.3 Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks, it works for me. I included your patch in my ruby/rails install script (https://github.com/yoones/railsondeb) |
Beta Was this translation helpful? Give feedback.
-
I had the same problem when installing on ubuntu 14.04 in docker. This fixed my problem. |
Beta Was this translation helpful? Give feedback.
-
Hi and thx! It works for me too. The ruby 2.2.4 seems to be fixed, but currently 2.2.3 is my needed version so thx so much. |
Beta Was this translation helpful? Give feedback.
-
I had the same problem on Ubuntu 14.04. The patch works for me. |
Beta Was this translation helpful? Give feedback.
-
I'm working with a fresh, up-to-date install of Arch and, despite trying @mislav's patch and others and several ruby versions, continue to get the SSLv3 error in all cases:
yields: installing bundle gems: /home/lbrown/.linuxbrew/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0 (build_info, cach e, doc, extensions, gems, specifications) What might you folks suggest? |
Beta Was this translation helpful? Give feedback.
-
Having same issues as @lewisbrown. I tried @mislav 's patch but build fails. All ruby versions < 2.4.x fail. Info:
It also fails if patch is not used.
|
Beta Was this translation helpful? Give feedback.
-
@jatindhankhar: I ran into the same problem on Archlinux. The problem is that ruby < 2.4 tries to use the system default OpenSSL, which then fails with:
The workaround for that is to force ruby to use OpenSSL 1.0 suggested in the Archlinux wiki for rvm, but the same thing works for rbenv:
|
Beta Was this translation helpful? Give feedback.
-
@piotrdz Just followed your suggestions and it works 👍 |
Beta Was this translation helpful? Give feedback.
-
#834 (comment) was good for me to get ruby 2.1.5 to 2.1.7 compiled in debian 9. |
Beta Was this translation helpful? Give feedback.
-
I am on a fresh 4.9.35-1-MANJARO and neither
nor
Last 10 log lines: Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
For anyone running into the same error as @abieler check my comment on this other issue: #930 (comment) |
Beta Was this translation helpful? Give feedback.
-
Using Ubuntu 18 here, solved doing this:
The problem is that this ruby version uses an old version of libssl (1.0) and the default package for Ubuntu is libssl 1.1.0 |
Beta Was this translation helpful? Give feedback.
-
It works great thank you @timotta ! |
Beta Was this translation helpful? Give feedback.
-
Worked for me trying to install ruby 1.9.3 with rbenv on ubuntu server 18.04, thanks @timotta ! |
Beta Was this translation helpful? Give feedback.
-
Ubuntu 19 does not include libssl1.0-dev in the standard repositories. I solved this by adding the cosmic security repository as per: https://packages.ubuntu.com/cosmic/amd64/libssl1.0.0/download Add this line to Then run
|
Beta Was this translation helpful? Give feedback.
-
Perfect. It worked for me on Elementary OS after trying all of the above. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am getting below error while installing Ruby 2.2.3 in fresh ubuntu install.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions