How can I set a proxy server for gem?

后端 未结 7 606
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 17:47

I am unable to install SASS through command prompt.

I tried below steps

c:\\gem install sass

I am getting below error:

         


        
7条回答
  •  死守一世寂寞
    2020-11-30 17:56

    For http/https proxy with or without authentication:

    Run one of the following commands in cmd.exe

    set http_proxy=http://your_proxy:your_port
    set http_proxy=http://username:password@your_proxy:your_port
    set https_proxy=https://your_proxy:your_port
    set https_proxy=https://username:password@your_proxy:your_port
    

提交回复
热议问题