I’m unable to install Ruby version 2.2.4 using RVM, however, 2.7.0 and 2.6.3 install file. I’ll note that when I run this command gem install bundler or gem update —-system, i get this error:
ERROR: Loading command: update (LoadError)
cannot load such file -- openssl
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
And before this gets marked as a duplicate question, because there are a lot of answers solving this exact problem, they’re all answers posted before 2013 and are thus outdated. When I try running their solution, rvm gives me a warning that what I’m doing is considered deprecated use of RVM.
It’s also probably worth mentioning that when I try to install ruby 2.2.4, I get this error:
ruby-2.2.4 - #installing rubygems-3.0.8 - please wait
Error running 'env GEM_HOME=/Users/garcia/.rvm/gems/ruby-2.2.4@global GEM_PATH= /Users/garcia/.rvm/rubies/ruby-2.2.4/bin/ruby -d /Users/garcia/.rvm/src/rubygems-3.0.8/setup.rb --no-document',
please read /Users/garcia/.rvm/log/1583159172_ruby-2.2.4/rubygems.install.log
I already submitted an issue ticket on the RVM repo, but no one has responded in the last 3 days.
Any help is appreciated!