无法 运行 捆绑安装 Ruby Gems - 进程已完成,退出代码为 17
Unable to run bundle install for Ruby Gems- Process finished with exit code 17
我确实在堆栈溢出中发现了同样的问题,我确实尝试了他们的一些解决方案,但 none 对我有用。我尝试过的一些解决方案是,
1) 删除代理
2) 将 gem 文件的来源从 'https://rubygems.org' to 'http://rubygems.org'
更改
None 能够为我解决这个问题。下面是我在安装 运行 捆绑包时遇到的错误。
注意:我以这种方式安装 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.
按照 here 给出的说明进行操作后,我发现我并没有完全删除我的代理设置。
多亏了这位用户,我才得以解决我的问题!
我确实在堆栈溢出中发现了同样的问题,我确实尝试了他们的一些解决方案,但 none 对我有用。我尝试过的一些解决方案是,
1) 删除代理
2) 将 gem 文件的来源从 'https://rubygems.org' to 'http://rubygems.org'
None 能够为我解决这个问题。下面是我在安装 运行 捆绑包时遇到的错误。 注意:我以这种方式安装 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.
按照 here 给出的说明进行操作后,我发现我并没有完全删除我的代理设置。
多亏了这位用户,我才得以解决我的问题!