-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Unable to install ruby 2.2 on Ubuntu 18.04 #4371
Comments
some trouble 10 minutes ago |
I have the same problem, read about some possible solutions but none worked so far. |
well. Alas, it's time for me to downgrade to Ubuntu 16.04 😭 |
@kewogc waaait! I finally got it working doing sudo apt purge libssl-dev && sudo apt install libssl1.0-dev and then using rbenv instead of rvm to install older ruby versions. Hope it works for you too. |
@gkalil I also tried dowgrading my openssl version to One good news @kewogc @gkalil is that I manage to install
Environment Info
I'm going to try using the Ubuntu package installation and check if that's the problem |
Description@gkalil @kewogc Installation of Ruby Output for:
Environment Info
|
Using the Ubuntu package you can achieve the same, just:
|
Aside my comment above (update the Ubuntu package, install the gpg keys and perform There is no point at all to remove a Ubuntu package removing each files manually. |
I was able to reinstall it just fine after i did |
@davorb Of course, you can run it and it'll remove the core of the Ubuntu package, but then you'll have a broken package. Removing the Ubuntu package will perform |
Got it working with that:
You must install RVM dependencies manually, otherwise, with autolibs enabled, RVM will try to update system dependencies and also libssl-dev (that you downgraded in the first step). If you don't want to manually install dependencies you can try to install Ruby with autolibs enabled, the installation will fail, at this point you have dependencies installalled, so you can downgrade libssl repeating all from step 1. |
@raelgc 's comment on May 1st about upgrading RVM ubuntu package version seems to have fixed it for me... Fingers crossed, anyway! |
Thanks for the feedback @biot023. |
@arturoblanco I've removed your comment with instructions to remove the files from package without remove the package. Feel free to write new instructions if they'll not lead to a broken installed package (i.e, remove the package properly instead of remove the files from it). And again: the ubuntu package is updated with ssl dependencies removed. |
As samuelebistoletti said, the correct comment is "You must install RVM dependencies manually, otherwise, with autolibs enabled, RVM will try to update system dependencies and also libssl-dev (that you downgraded in the first step)...." |
@hodjam Just update |
for macOS high Sierra 10.13 i was getting
this is the content of the file
after applying so many solution as described above I finally found |
Fixed for Ubuntu 18.04 upgrading rvm to master |
**In ubutu 18.4 , active directory attached user domain user folder not able install ruby throught ruby rsurendra@idexcel.internal@laplen024:
Searching for binary rubies, this might take some time. Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/18.04/x86_64/ruby-2.5.5.tar.bz2 Checking requirements for ubuntu. Requirements installation successful. ruby-2.5.5 - #configure ruby-2.5.5 - #download ruby-2.5.5 - #validate archive ruby-2.5.5 - #extract ruby-2.5.5 - #validate binary ruby-2.5.5 - #setup mkdir: cannot create directory ‘/home/rsurendra@global’: Permission denied Can not create gemset 'global', permissions problem? Required ruby-2.5.5 is not installed - installing. ruby-2.5.5 - #removing rubies/ruby-2.5.5.. Searching for binary rubies, this might take some time. Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/18.04/x86_64/ruby-2.5.5.tar.bz2 Checking requirements for ubuntu. Requirements installation successful. ruby-2.5.5 - #configure ruby-2.5.5 - #download ruby-2.5.5 - #validate archive ruby-2.5.5 - #extract ruby-2.5.5 - #validate binary ruby-2.5.5 - #setup mkdir: cannot create directory ‘/home/rsurendra@global’: Permission denied Can not create gemset 'global', permissions problem? rsurendra@idexcel.internal@laplen024: |
Description
I'm trying to install ruby
2.2.10
without any success due to error__rvm_make -j4
, I try using the--with-gcc=gcc
option with no success. I also tried without passing--with-gcc=gcc
Output for:
rvm install 2.2.10
Output for:
rvm install 2.2.10 --with-gcc=gcc
Steps to reproduce
rvm install ruby 2.2.10
orrvm install ruby 2.2.10 --with-gcc=gcc
Expected behavior
Ruby version
2.2.10
installedActual behavior
Debug mode:
Environment info
The text was updated successfully, but these errors were encountered: