简体   繁体   中英

Creating new Rails app - Dependency API down?

I'm trying to create new Rails app:

rails new NewRailsApp

and keep getting an error:

  create
  create  README.rdoc
  create  Rakefile
  ...
  create  vendor/plugins/.gitkeep
     run  bundle install
Fetching gem metadata from https://rubygems.org/.
Error Bundler::HTTPError during request to dependency API
Fetching full source index from https://rubygems.org/
Could not reach https://rubygems.org/

Is the error on my side or is it caused by Rubygems Dependecy API being down? (it has been down for four days according to this )

How do I get around this problem?

Temporarily use

source "http://bundler-api.herokuapp.com"

in your Gemfile .

Source: http://hone.herokuapp.com/bundler%20heroku/2012/10/22/rubygems-and-the-dependency-api.html

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