Bundle Install could not fetch specs from https://rubygems.org/

前端 未结 14 2150
抹茶落季
抹茶落季 2021-02-01 13:20

I\'m attempting to follow the Hartl Rails Tutorial, and having trouble with the bundler gem.

When using the commands \'bundle install\' or \'bundle update\' I get the fo

14条回答
  •  攒了一身酷
    2021-02-01 14:14

    The other reason causing such that issues is the fact if you are behind proxy server. I describe here solution, maybe it will be usefull for someone else. :)

    In case that you did not know Login/pass for yours proxy, and meet this issues you could firstly check if you need to (re)install anything, by command:

    C:\...> bundle check
    Resolving dependencies...
    The Gemfile's dependencies are satisfied
    

    If you get other respons then above, you could find properly gems in properly versions here (rubygems.org), then install it (from the directory with downloaded gem) by command:

    gem install  --locally 
    

提交回复
热议问题