What are the causes and actions to be taken when timing out during bundle installation?

Asked 1 years ago, Updated 1 years ago, 67 views

I did bundle install and got a timeout error. Does rubygems.org fall at times like this?

If you access it through a browser, it will be connected, but I don't know what the gem is, so please let me know.

Also, is there nothing we can do at times like this? I'd like to start working on it right away...

ruby rubygems

2022-09-30 15:50

3 Answers

On Twitter, you can see that if you switch to source 'http://production.cf.rubygems.org', it worked.

You want to start working on it right away, so if it works by switching to a mirror, it would be good to switch to work today.
Switching can be accomplished by rewriting the first line of the Gemfile, which is located in the directory where you created the rails app.

 rails new abc

and then Gemfile in the abc directory.

Now it's starting

source 'https://rubygems.org'

I think it says

source 'http://production.cf.rubygems.org'
# source 'https://rubygems.org'

Try saving it like this and running the bundle command.

It's just a proxy site, so let's put it back together tomorrow.

source 'https://rubygems.org'
# source 'http://production.cf.rubygems.org'


2022-09-30 15:50

Temporarily source https://s3.amazonaws.com/production.s3.rubygems.org You may be able to change to

cf. tokyo-m.rubygems.org is missing and rubygems cannot be installed. - Qiita


2022-09-30 15:50

All right, guess what.

If you are unable to connect, see https://status.rubygems.org/ from your browser.If the check is green, you will look around your ruby environment.

There are many reasons why it doesn't work, but one possible reason is that rubygem's version may be out of date.(<2.3)

gem update --system

Please update the gem and try again.

Note: Gems not installing due to timeout


2022-09-30 15:50

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.