Whenever I run
sudo gem install rails
I get the following output:
ERROR: Loading command: install (LoadError)
cannot load such file -- openssl
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
RVM version: rvm 1.18.14 and Ruby is 2.0.0p0
you need to reinstall your rubies:
rvm get head --autolibs=3
rvm pkg remove
rvm reinstall all --force
the new autolibs
supporrt will take care of updating dependencies and including them in ruby
Do you have Homebrew installed on your system? If so, try
brew install openssl
in the command line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With