Пакетная установка выдает HTTPError - PullRequest
0 голосов
/ 20 июня 2019

Я заметил, что один из моих драгоценных камней, кажется, устарел, и поэтому, когда я пытаюсь переустановить драгоценный камень локально, я вижу следующее:

$ gem install stripe
Successfully installed stripe-4.19.0
Parsing documentation for stripe-4.19.0
Done installing documentation for stripe after 0 seconds
WARNING:  Unable to pull data from 'http://gems.github.com': bad response Not Found 404 (http://gems.github.io/specs.4.8.gz)
1 gem installed

Но мне интересно, может ли это предупреждение быть связано с тем, почему мой драгоценный камень не работает должным образом (некоторые функции, которые должны быть доступны, выдают NoMethodError.

Когда я пытаюсь запустить bundle install, я вижу:

$ bundle install
Your Gemfile lists the gem geckodriver-helper (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Warning: the running version of Bundler (1.16.1) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
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 x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/.....
Retrying dependency api due to error (2/4): Bundler::HTTPError Net::HTTPBadGateway:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>502 Bad Gateway</title>
  </head>
  <body>
    <h1>Error 502 Bad Gateway</h1>
    <p>Bad Gateway</p>
    <h3>Guru Mediation:</h3>
    <p>Details: cache-bos8222-BOS 1561062786 1540944660</p>
    <hr>
    <p>Varnish cache server</p>
  </body>
</html>
......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies....
Using rake 12.3.1
...

Я подключен к Интернету, поэтому не совсем уверен, что происходит ...

...