Cod*_*ndi 1 ruby gem rubygems ruby-on-rails ruby-on-rails-3
当我bundle install在ruby 2.1.2上运行时,我得到:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/gems/rake-10.4.2.gem)
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.
Run Code Online (Sandbox Code Playgroud)
当我跑步时,gem install rake我得到:
ERROR: Could not find a valid gem 'bundle' (>= 0), 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
Run Code Online (Sandbox Code Playgroud)
当我跑步时,which bundle我得到:
/usr/local/rvm/gems/ruby-2.1.2@global/bin/bundle
Run Code Online (Sandbox Code Playgroud)
此错误阻止我在部署之前在localhost:3000上进行开发工作.
有谁知道如何解决这个问题?
Pap*_*abs 14
在rails应用程序目录中的Gemfile中更改:
source 'https://rubygems.org'
Run Code Online (Sandbox Code Playgroud)
至
source 'http://rubygems.org'
Run Code Online (Sandbox Code Playgroud)