ruby/lib/bundler/fetcher
David Rodríguez fe240b672b
[rubygems/rubygems] Show better error when PAT can't authenticate to a private server
Before:

```
Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/

Bad username or password for https://x-access-token@rubygems.pkg.github.com/my-org/.
Please double-check your credentials and correct them.
```

After:

```
Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/

Access token could not be authenticated for https://x-access-token@rubygems.pkg.github.com/my-org/.
Make sure it's valid and has the necessary scopes configured.
```

https://github.com/rubygems/rubygems/commit/2ae69c964a
2023-08-16 15:03:38 +09:00
..
base.rb Sync RubyGems & Bundler with upstream repo 2022-06-24 10:52:02 +09:00
compact_index.rb [rubygems/rubygems] Bad auth should not fallback either 2023-08-16 15:03:38 +09:00
dependency.rb Fix logging the fallback to the full index on GemspecError's 2023-03-23 17:18:49 +09:00
downloader.rb [rubygems/rubygems] Show better error when PAT can't authenticate to a private server 2023-08-16 15:03:38 +09:00
index.rb [rubygems/rubygems] Show better error when PAT can't authenticate to a private server 2023-08-16 15:03:38 +09:00