当我在Centos 5.5上为Rails 3项目运行bundle install
时,它会失败,并出现一个错误:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3
read server certificate B: certificate verify failed
(https://bb-m.rubygems.org/gems/multi_json-1.3.2.gem)
An error occured while installing multi_json (1.3.2), and Bundler cannot continue.
Make sure that `gem install multi_json -v '1.3.2'` succeeds before bundling.
当我try 手动安装gem时(gem install multi_json -v '1.3.2'
次),它可以正常工作.其他几种Ruby 也会出现同样的问题.我使用RVM(1.12.3)、ruby 1.9.2和bundler 1.1.3.
如何修复它?