Error logging into Heroku from the command line

When I tried to enter Heroku from the command line heroku login, the following error is issued.

/usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- openssl (LoadError)
from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'     
from /usr/local/heroku/vendor/gems/excon-0.45.4/lib/excon.rb:6:in `<top (required)>'
from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'   
from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' 
from /usr/local/heroku/lib/heroku/jsplugin.rb:131:in `setup'
from /usr/local/heroku/lib/heroku/cli.rb:27:in `start'
from /usr/local/heroku/bin/heroku:25:in `<main>'
+4
source share

Source: https://habr.com/ru/post/1625434/


All Articles