2013-03-12 5 views
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. 

내 보석 파일에 gem "mysql2"이 포함되어 있습니다.번들 설치 중에 mysql2 gem, CertificateFailureError 설치 시도 중

저는 OS X Lion이며 Ruby 1.8.7을 사용합니다. Rails는 3.2.12입니다.

rake btw가 설치되었습니다.

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... 
+0

에 소스를 변경합니다. 명령을 다시 실행하기 만하면 해결됩니다. gemfile을 편집 할 필요가 없습니다. https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/6.1-to-6.2.md – spuder

답변

1

여전히 문제가 무엇인지 정확히 알 수는 없지만 https를 사용하지 않음으로써 해결했습니다. 당신의 gemfile에서

, 나는이 정확한 오류로 실행, 그것은 가치가 무엇인지를 들어 source 'http://rubygems.org'

+2

"수정"이라기보다는 "해결 방법"이라고 부릅니다. :) –