【问题标题】:Unable to run bundle install for Ruby Gems- Process finished with exit code 17无法为 Ruby Gems 运行捆绑安装 - 进程以退出代码 17 完成
【发布时间】:2017-04-15 11:56:07
【问题描述】:

我确实在堆栈溢出中发现了同样的问题,我确实尝试了他们的一些解决方案,但没有一个对我有用。我尝试过的一些解决方案是,

1) 删除代理
2)将gem文件的源从'https://rubygems.org'更改为'http://rubygems.org'

这些都不能为我解决这个问题。以下是我运行捆绑安装时遇到的错误。 注意:我以这种方式安装 gems 已经有一段时间了。我最近才开始收到此错误。 有谁知道为什么会发生这种情况?提前致谢!

The dependency tzinfo-data (>= 0) will be unused by any of the platforms 
Bundler is installing for. Bundler is installing for ruby but the dependency 
is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those 
platforms to the bundle, run `bundle lock --add-platform mingw, mswin, 
x64_mingw, jruby`.
Fetching source index from https://rubygems.org/

Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch 
specs from https://rubygems.org/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch 
specs from https://rubygems.org/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch 
specs from https://rubygems.org/
Could not fetch specs from https://rubygems.org/

Process finished with exit code 17

更新

我访问了http://isup.me/rubygems.org 网站并收到了消息,

It's just you. http://rubygems.org is up. 

【问题讨论】:

    标签: ruby-on-rails rubygems bundle-install


    【解决方案1】:

    按照here 给出的说明进行操作后,我发现我并没有完全删除我的代理设置。

    感谢这位用户,我能够解决我的问题!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-02-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-01-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多