简体   繁体   中英

What to do when rubygems.org is down?

I have to setup a rails project and rubygems.org is seemed to be down. That's really horrible. Can't believe it the whole ruby community have only one single not-so-reliable gems source. What should I do in such case?

The best short term thing you can do is set your Gemfile's source to:

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

which is our CloudFront distribution URL. I would switch back to rubygems.org though once we're back.

In general, I agree with you. It sucks. We're working on making it better.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM