How can I set a proxy server for gem?

后端 未结 7 614
隐瞒了意图╮
隐瞒了意图╮ 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:59

    In Addition to @Yifei answer. If you have special character like @, &, $

    You have to go with percent-encode | encode the special characters. E.g. instead of this:

    http://foo:B@r@http-gateway.domain.org:80
    

    you write this:

    http://foo:B%40r@http-gateway.domain.org:80
    

    So @ gets replaced with %40.

提交回复
热议问题