RVM ruby​​-1.9.2-p290,找不到符号:_SSLv2_client_method

时间:2015-06-29 20:49:33

标签: ruby ruby-on-rails-3 openssl

尝试在我的项目根目录中运行bundle install命令时出现错误

我尝试运行brew更新,但它没有帮助。任何帮助将不胜感激

  

捆绑安装

/Users/user123/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require':     dlopen(/Users/user123/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.4.2/openssl.bundle, 9): Symbol not found: _SSLv2_client_method (LoadError)
  Referenced from: /Users/user123/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.4.2/openssl.bundle
  Expected in: flat namespace
 in /Users/user123/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.4.2/openssl.bundle -  /Users/user123/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.4.2/openssl.bundle
    from /Users/user123/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /Users/user123/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/openssl.rb:17:in `<top (required)>'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/fetcher.rb:288:in `rescue in request'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/fetcher.rb:278:in `request'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/fetcher.rb:257:in `fetch'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/fetcher.rb:234:in `use_api'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/source/rubygems.rb:228:in `block in remote_specs'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/source/rubygems.rb:228:in `select'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/source/rubygems.rb:228:in `remote_specs'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/source/rubygems.rb:167:in `fetch_specs'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/source/rubygems.rb:66:in `specs'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/definition.rb:216:in `block (2 levels) in index'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/definition.rb:213:in `each'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/definition.rb:213:in `block in index'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/index.rb:9:in `build'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/definition.rb:209:in `index'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/definition.rb:203:in `resolve'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/definition.rb:133:in `specs'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/definition.rb:122:in `resolve_remotely!'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/installer.rb:82:in `run'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/installer.rb:15:in `install'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/cli/install.rb:76:in `run'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/cli.rb:146:in `install'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/vendor/thor/command.rb:27:in `run'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/vendor/thor.rb:363:in `dispatch'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/vendor/thor/base.rb:440:in `start'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/cli.rb:9:in `start'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/bin/bundle:20:in `block in <top (required)>'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/lib/bundler/friendly_errors.rb:5:in `with_friendly_errors'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.6.0/bin/bundle:20:in `<top (required)>'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `load'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/bin/bundle:19:in `<main>'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/bin/ruby_noexec_wrapper:14:in `eval'
    from /Users/user123/.rvm/gems/ruby-1.9.2-p290/bin/ruby_noexec_wrapper:14:in `<main>'

0 个答案:

没有答案