-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22 - Error installing Ruby 2.6.9 #67
Comments
the same error with 3.x versions.. installing the openssl v1 $ cd /usr/local/src/
$ sudo wget https://www.openssl.org/source/openssl-1.1.1s.tar.gz
$ sudo tar -xf openssl-1.1.1s.tar.gz
$ cd openssl-1.1.1s
$ sudo ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
$ sudo make
$ sudo make install
$ sudo rmdir certs
$ sudo ln -sf /etc/ssl/certs/ certs installing ruby $ rvm install 3.1.2 --with-openssl-dir=/usr/local/ssl I hope it will help |
As this repository is dedicated to the Ubuntu installer, and this is a |
I tried before opening the issue
Thanks! Ruby installed! Now I have problem with bundle install:
@raelgc , can you reopen the issue? |
The openssl you've compiled does not have access to the CA certificates. Symlink the certs/ dir to /etc/ssl/certs then it will work. |
E: Unable to locate package openssl1.0 |
@diogeneshas The package is available only if you added the PPA, but it'll not help on this case, as the required version is 1.1 |
Issue on parent repo: rvm/rvm#5209 |
@fsdevblog I just updated your solution to use openssl1.1 version |
Ok, finally I've backported You want, after
|
@raelgc Thanks for the tip, it worked well for me 👍 |
Great work here - thank you! |
Is there any way to block libssl-dev and openssl from updating? Because they are always updated and it is necessary to keep downgrading again! |
@mpetri-wert, 3 possible solutions: Hold upgrade using
|
a little correction to the script above. it should be:
|
with all the respect possible this defect was not fixed before it was closed as I'm still not able to install Ruby 2.6.2 on Ubuntu 22.04.2 LTS Edit: rvm/rvm#5209 |
Description
Problem installing Ruby 2.6.9 with RVM on freshly released Ubuntu 22.04 final version (downloaded and installed 4/22).
Steps to reproduce
Expected behavior
Ruby 2.6.9 installed
Actual behavior
Just like Readme:
Environment info
make-log.txt
The text was updated successfully, but these errors were encountered: