我将 gem 从 ruby-1.9.2 迁移到 ruby-1.9.3,然后尝试运行 bundle install。当我这样做时,我得到了上面的错误。关于为什么的任何线索?
使用 rvm 1.9.2、ruby 1.9.3p0(2011-10-30 修订版 33570)[i686-linux]、bundler 1.1.4 和 rubygems 1.8.24
Error stack:
user@linux-kt6v:~/rails_projects/rails_app> bundle install
Fetching gem metadata from https://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:799:in `connect': SSL_set_tlsext_host_name: (OpenSSL::SSL::SSLError)
from /home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:799:in `block in connect'
from /home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
from /home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
from /home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:799:in `connect'
from /home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
from /home/user/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:750:in `start'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/net/http/persistent.rb:224:in `connection_for'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/net/http/persistent.rb:358:in `request'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/fetcher.rb:145:in `fetch'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/fetcher.rb:173:in `fetch_dependency_remote_specs'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/fetcher.rb:132:in `fetch_remote_specs'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/fetcher.rb:70:in `specs'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:234:in `block in remote_specs'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:232:in `each'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:232:in `remote_specs'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:165:in `fetch_specs'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:70:in `specs'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/lazy_specification.rb:53:in `__materialize__'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/spec_set.rb:86:in `block in materialize'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/spec_set.rb:83:in `map!'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/spec_set.rb:83:in `materialize'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:127:in `specs'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:122:in `resolve_remotely!'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/installer.rb:48:in `run'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/installer.rb:12:in `install'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/cli.rb:220:in `install'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/thor/task.rb:22:in `run'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/thor/base.rb:386:in `start'
from /home/user/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/bin/bundle:13:in `<top (required)>'
from /home/user/.rvm/gems/ruby-1.9.3-p0/bin/bundle:23:in `load'
from /home/user/.rvm/gems/ruby-1.9.3-p0/bin/bundle:23:in `<main>'