我正在尝试查看我安装的Heroku版本,以便安装heroku工具带https://toolbelt.heroku.com/但是当我输入时:
Heroku --v
我在终端获得以下内容:
BrettMac:~brettgolding $ heroku --v /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:121:in
require': dlopen(/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle, 9): Symbol not found: _SSLv2_client_method (LoadError) Referenced from: /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib in /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle - /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:121:in
require' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/2.1.0/openssl.rb:17:in<top (required)>' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:121:in
require' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:121:inrequire' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/excon-0.33.0/lib/excon.rb:6:in
' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:69:inrequire' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:69:in
require' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/heroku-api-0.3.18/lib/heroku/api.rb:3:in {{1} }要求' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:121:in<top (required)>' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:121:in
' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:69:inrequire' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/heroku-api-0.3.18/lib/heroku-api.rb:1:in
require' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/heroku-3.9.6/lib/heroku/client/organizations.rb:1:in {{1} }要求' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:69:inrequire' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:69:in
' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:69:in<top (required)>' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:69:in
require' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/heroku-3.9.6/lib/heroku/command/addons.rb:1:in {{1} }要求' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:121:inrequire' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/heroku-3.9.6/lib/heroku/command/base.rb:4:in
阻止加载' 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/heroku-3.9.6/lib/heroku/command.rb:13:inrequire' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:69:in
载入“ 来自/Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/heroku-3.9.6/lib/heroku/cli.rb:36:in<top (required)>' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:121:in
' 来自/Users/brettgolding/.rbenv/versions/2.1.1/bin/heroku:23:inrequire' from /Users/brettgolding/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/heroku-3.9.6/lib/heroku/command.rb:14:in
'
我正在使用OSX和终端。
答案 0 :(得分:1)
你的ruby设置似乎有问题。我认为你应该尝试重新安装像这样建议的红宝石:Ruby Bundle Symbol not found: _SSLv2_client_method (LoadError)