2012-04-26 23 views
7

「バンドルのインストール」宝石を引き起こし:: RemoteFetcher :: FetchError各宝石に

rails new project 

を呼び出すとき、私はバンドルはインストールヒットするまでのプロセスが進行します。その時点で:

identical vendor/plugins/.gitkeep 
     run bundle install 
Fetching gem metadata from https://rubygems.org/......... 

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=unknown state: sslv3 alert handshake failure (https://d2chzxaqi4y7f8.cloudfront.net/gems/rake-0.9.2.2.gem) 
An error occured while installing rake (0.9.2.2), and Bundler cannot continue. 
Make sure that `gem install rake -v '0.9.2.2'` succeeds before bundling. 

私はインストール宝石を使用して手動で宝石をインストールすることができますし、打ち上げは再び新しいレール、およびエラーが次の宝石のために繰り返されます。私は手動ですべての単一の宝石をインストールすることになります。

私はrvm 1.13.0シングルユーザーを使用します。

+0

RVMを使用している場合は、 'rvm requirements'を読んでください。 – mpapis

答えて

6

OpenSSLがインストールされていますか?あなたのOSについては言及しませんが、Ubunutu(または他のDebianベースのディストリビューション)であなたが実行します。

sudo apt-get install openssl 

はその失敗、http://railsapps.github.com/openssl-certificate-verify-failed.html

+1

ありがとうございます。 「失敗する」オプションがその日を救った。 – darioshanghai

+1

:ssl_verify_mode:〜/ .gemrcの "Failing that"から0が私の問題を解決しました。ありがとう! –

+0

"Failing that"オプションに従い、Windowsの指示を探しました。あなたがRailsInstallerを持っている場合、問題を解決する方法のためのリンクがありました。私はRailsInstallerを持っていませんでした。ただRubyだけなので、「手動」の指示に従い、RailsInstallerをRuby200-x64に変更しました。ありがとう! –

5

はこれを試してみてくださいしてみてください。

rvm pkg install openssl 
rvm reinstall 1.9.2 --with-openssl-dir=$rvm_path/usr 
+0

Mac OS X 10.8では、お手伝いをしました。ありがとう – sekrett

関連する問題