我正在尝试运行我的第一个rails应用程序。我得到的第一个错误是:
Could not find gem 'sdoc (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.因此,我尝试运行"bundle install“并获取:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/gems/i18n-0.6.9.gem)
An error occurred while installing i18n (0.6.9), and Bundler cannot continue.
Make sure that `gem install i18n -v '0.6.9'` succeeds before bundling.于是我尝试了一下"gem install il8n -v '(0.6.9)'“,得到的结果是:
ERROR: Could not find a valid gem 'il8n' (= 0.6.9), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz)然后我改变了
source 'https://rubygems.org'至
source 'http://rubygems.org'在尝试捆绑包安装之后,我现在得到:
An error occurred while installing atomic (1.1.14), and Bundler cannot continue.
Make sure that `gem install atomic -v '1.1.14'` succeeds before bundling.所以我试着:
$ bundle update --source atomic并获取
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at bit.ly/bundler-issues.卡住了!任何建议都是非常感谢的。
查利
发布于 2015-05-01 11:21:59
它适用于RubyMine,Ubuntu14.04x64
在Gemfile中替换
source 'https://rubygems.org'至
source 'http://rubygems.org'https://stackoverflow.com/questions/20404562
复制相似问题