我安装gem i18n-0.7.0.beta1时出错

时间:2014-12-28 16:36:35

标签: ruby-on-rails ruby bundler

我正在尝试运行测试,所以我运行rake:

Could not find i18n-0.7.0.beta1 in any of the sources
Run `bundle install` to install missing gems.

然后我运行bundle install并得到这个:

Using rake 10.4.0

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed (https://rubygems.org/gems/i18n-
0.7.0.beta1.gem)
An error occurred while installing i18n (0.7.0.beta1), and Bundler cannot
continue.
Make sure that `gem install i18n -v '0.7.0.beta1'` succeeds before bundling.

然后我做gem install i18n -v '0.7.0.beta1'并得到这个:

ERROR:  Could not find a valid gem 'i18n' (= 0.7.0.beta1), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://rubygems.org/specs.4.8.gz)

我现在该怎么办?

0 个答案:

没有答案