捆绑安装失败,出现SSL证书验证错误
当我bundle install
在Centos 5.5上运行我的Rails 3项目时失败并出现错误:
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.
当我尝试手动安装gem时(by gem install multi_json -v '1.3.2'
)它可以工作。其他几个宝石也会出现同样的问题。我使用RVM(1.12.3),ruby 1.9.2,bundler 1.1.3。
怎么解决?
相关分类