bundle install error

Execution environment: Winodows 10 Pro (64bit) Vagrant 2.2.14 Ubuntu 16.04.6 LTS Docker 18.09.7 ruby:ruby 2.7.2p137 To install Ruby's sinatra library in Docker's content When I run bundle install, I get the following error:


Fetching source index from https://rubygems.rog/

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

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

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

Could not fetch specs from https://rubygems.rog/

Get the information that it was solved by executing the following command
gem update --system

Run the installation again. There is no change.

I ran wget https://api.rubygems.org/specs.4.8.gz and tried to download it, but it was successful. I looked up the IP address of the domain.


root@dfed40fdb477:/var/www# host api.rubygems.org api.rubygems.org is an alias for rubygems.org. rubygems.org has address 151.101.2.132 rubygems.org has address 151.101.130.132 rubygems.org has address 151.101.194.132 rubygems.org has address 151.101.66.132 rubygems.org has IPv6 address 2a04:4e42::644 rubygems.org has IPv6 address 2a04:4e42:200::644 rubygems.org has IPv6 address 2a04:4e42:600::644 rubygems.org has IPv6 address 2a04:4e42:400::644 rubygems.org mail is handled by 10 mxb.mailgun.org. rubygems.org mail is handled by 10 mxa.mailgun.org.

I wrote it in the host file.

151.101.2.132 api.rubygems.org 151.101.130.132 api.rubygems.org 151.101.194.132 api.rubygems.org 151.101.66.132 api.rubygems.org

2a04:4e42::644 api.rubygems.org 2a04:4e42:200::644 api.rubygems.org 2a04:4e42:600::644 api.rubygems.org 2a04:4e42:400::644 api.rubygems.org

The installation was successful.




Recommended Posts

bundle install error
bundle install error
Error when bundle install
Error summary in bundle install. memorandum
composer install error
Mac Rails Install Error
Error in bundle install when running rails new
Error with bundle install after upgrading to Catalina
bundle install does not install mysql2
About the error caused by bundle install ~ puma Gem ~
Difference between bundle and bundle install
After setting database to mysql, bundle install causes an error
Resolve Gem :: FilePermissionError from nokogiri error caused by bundle install
What to do if mysql2 gets a bundle install error
Error when npm install on Windows 7
mysql2 fails to install with bundle install
[Rails 6] MySQL 2 cannot be bundle install
[Environment construction] Error when bundle install Errno :: EACCES: Permission denied @ dir_s_mkdir-
I don't see an error in Rails bundle install ... the solution
tomcat error
Add gem'rails-i18n','~> 6.0.0' and what to do if bundle install gives an error
[Memo] Difference between bundle install and update
Eclipse error
Deployment error
Error memorandum
bundle install? yarn install? What are you doing
Install RSpec
What to do if an error occurs when nokogiri enters when bundle install
FindBugs-IDEA error
OwlgardenRPA --Install
Copying the repository and getting a mysql2 error on the first bundle install
Install qiita_org
[Rails] Could not locate Gemfile with bundle install