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

前端 未结 14 2117
抹茶落季
抹茶落季 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:04

    you can try the following, if in windows:

    set HTTP_PROXY= 
    
    set HTTPS_PROXY=%HTTP_PROXY%
    

    For eg:

    HTTP_PROXY=mycompany.myproxy.com:8080
    
    HTTPS_PROXY=%HTTP_PROXY%
    

    Worked for me

提交回复
热议问题