0
Jason-Kim-MacBook-Pro:composer jkim$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Fetching source index from https://rubygems.org/
Resolving dependencies...

Bundler::Fetcher::CertificateFailureError: Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see bit.ly/ssl-certs. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
An error occurred while installing rake (10.0.3), and Bundler cannot continue.
Make sure that `gem install rake -v '10.0.3'` succeeds before bundling.

私のgemfileにはgem "mysql2".

私は OS X Lion で、Ruby 1.8.7 を使用しています。Rails は 3.2.12 です。

ところでレーキをインストールしました。

Jason-Kim-MacBook-Pro:composer jkim$ gem install rake -v '10.0.3'
Successfully installed rake-10.0.3
1 gem installed
Installing ri documentation for rake-10.0.3...
Installing RDoc documentation for rake-10.0.3...
4

1 に答える 1

1

問題の正確な原因はまだわかりませんが、https を使用しないことで解決しました。

gemfile で、ソースを次のように変更します。source 'http://rubygems.org'

于 2013-03-12T22:59:08.253 に答える