Closed mmolinac closed 4 years ago
Nobody can add any light here ?
I'd love to have someone involve here who can contribute to add this future. If you have that time would be awesome.
@mmolinac ruby 2.5.0 is one year old. Could you instead try to install 2.5.3, and report back if it also fails?
@mmolinac can you do as suggested in the other thread:
yum install ruby
rvm install 2.5.0
@thbar I can check with out dev team and see if that version suits them, and then try.
@pkuczynski I can't, as we're using Debian for all of our environments. As the installation of version 2.5.0 asks for another Ruby version being already there (what I can't understand), I opted for another solution for the time being.
I still believe that the whole list of rvm1_rubies
provided should be able to be installed at once, but that's my personal opinion.
I am also having the same problem (although without the Ansible role, just plain rvm install
) - Ruby 2.5.0 cannot be installed with RVM, same error - on a pristine Ubuntu 18.
Installing Ruby 2.5.3 works.
Experiencing the same problem!
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
linking shared-object ripper.bundle
make: *** [build-ext] Error 2
+__rvm_make:0> return 2
UPDATE:
Installing with the openssl
flag worked for me.
brew install openssl
rvm install 2.5.0 --with-openssl-dir=`brew --prefix openssl`
More info here
Having a similar issue. No light?
Apparently You can't compile Ruby with RVM unless Ruby is already present on the system. Run this first: sudo apt-get install ruby-full
Then re-run: rvm install ruby-2.5.0
Please note that Ruby 2.5.0 includes many security vulnerabilities (some important) which have been fixed in later 2.5.x releases. You should target latest 2.5.x (currently 2.5.7) instead of 2.5.0.
@thbar thanks for pointing that out! I sure will update my Ruby.
Apparently You can't compile Ruby with RVM unless Ruby is already present on the system. Run this first:
sudo apt-get install ruby-full
Then re-run:rvm install ruby-2.5.0
This worked for me. Thanks @Anyoks
@rvm/ansible I'll close this one. Ruby 2.5.0 is an old version and lacks important security fixes.
If someone meets installation issue with the latest 2.5.x, please re-open a specific issue!
Since some months ago, it's not possible for us to install Ruby 2.5.0 with this role. As it turned out, it seems that RVM has changed. I opened a ticket to them, https://github.com/rvm/rvm/issues/4443 , but it seems that the proposed solution for this version is to install other version by package. As your role is affected because it doesn't work with this version, I ask you to change this role.
When we try to install with your role, the process ends like this (I was able to reproduce the error):
And the last lines from the log file are:
If you're unable to fix this, could it be possible to add parameters so the compilation process of Ruby 2.5.0 could take advantage of a previous RVM installation of another version, say 2.3.1 ?