捆绑安装重复错误

时间:2012-10-13 21:42:37

标签: ruby-on-rails ruby ruby-on-rails-3 rubygems bundler

我的系统出了问题,所以我卸载了我的旧ruby目录,现在我正在尝试重新安装。我下载并安装了最新的ruby版本。

但是,当我尝试运行Rails服务器时,它说我需要安装一些宝石。所以我运行了bundle install,结果发现它已经被卸载了。

所以我做了gem install bundler,但现在,每当我运行bundle install时,它都不起作用。我一直得到这个错误的一些版本:

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed ...
An error occurred while installing ThisGem ('0.3.4'), and Bundler cannot continue. 
Make sure that "gem install ThisGem '0.3.4' " succeeds before bundling.

“gem install”命令每次都有效,但是当我安装一个gem时,它只会移动到下一个错误,必须手动安装,这会破坏Bundler的这一点。

为什么会发生这种情况?

1 个答案:

答案 0 :(得分:0)

手动在Gemfile中包含gem“ThisGem'0.3.4'”并尝试运行:

捆绑安装--local

相关问题