Skip to content
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

After installing ruby-2.3.3 unable to install gems - openssl #4874

Open
jonathonpday opened this issue Feb 16, 2020 · 1 comment
Open

After installing ruby-2.3.3 unable to install gems - openssl #4874

jonathonpday opened this issue Feb 16, 2020 · 1 comment

Comments

@jonathonpday
Copy link

I am able to run install rvm install ruby-2.3.3 which seems to be installing successfully with some issues:

ruby-2.3.3 - #downloading ruby-2.3.3, this may take a while depending on your connection...
ruby-2.3.3 - #extracting ruby-2.3.3 to /Users/jonathonday/.rvm/src/ruby-2.3.3.....
ruby-2.3.3 - #applying patch /Users/jonathonday/.rvm/patches/ruby/ruby_2_3_gcc7.patch.
ruby-2.3.3 - #applying patch /Users/jonathonday/.rvm/patches/ruby/2.3.3/random_c_using_NR_prefix.patch.
ruby-2.3.3 - #configuring...........................................................
ruby-2.3.3 - #post-configuration.
ruby-2.3.3 - #compiling...........................................................
ruby-2.3.3 - #installing.........
ruby-2.3.3 - #making binaries executable..
ruby-2.3.3 - #downloading rubygems-3.0.6
ruby-2.3.3 - #extracting rubygems-3.0.6......
ruby-2.3.3 - #removing old rubygems........
ruby-2.3.3 - #installing rubygems-3.0.6...............................................
ruby-2.3.3 - #gemset created /Users/jonathonday/.rvm/gems/ruby-2.3.3@global
ruby-2.3.3 - #importing gemset /Users/jonathonday/.rvm/gemsets/global.gems..................there was an error installing gem gem-wrappers
.................there was an error installing gem rubygems-bundler
.........................there was an error installing gem rvm
.......
ruby-2.3.3 - #generating global wrappers.................
Error running 'run_gem_wrappers regenerate',
please read /Users/jonathonday/.rvm/log/1581851603_ruby-2.3.3/gemset.wrappers.global.log
ruby-2.3.3 - #gemset created /Users/jonathonday/.rvm/gems/ruby-2.3.3
ruby-2.3.3 - #importing gemsetfile /Users/jonathonday/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.3.3 - #generating default wrappers.................
Error running 'run_gem_wrappers regenerate',
please read /Users/jonathonday/.rvm/log/1581851603_ruby-2.3.3/gemset.wrappers.default.log
ruby-2.3.3 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.3.3 - #complete 

However, When I try to install gems or see which gems are listed I get the following error:

jonathonday@Jonathons-MacBook-Air:~$ gem list
ERROR:  Loading command: list (LoadError)
	cannot load such file -- openssl
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass

I am unsure how to resolve this as there seem to be a number of different issues.

For clarity I am using a macbook air (MacOS - version 10.14.5) and homebrew.

If anyone could help with this I would be very grateful - I am just looking to be able to install gems and use this version as normal.

@azurastar
Copy link

We had a similar error and had to roll back to using RubyGems 3.0.6 instead of 3.0.7, the latter included rubygems/rubygems@ba6026a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants