我无法通过命令提示符安装 SASS。
我尝试了以下步骤
c:\gem install sass
我遇到以下错误:
ERROR: Could not find a valid gem 'sass' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2) (https://rubygems.org/latest_specs.4.8.gz)
请帮帮我,
最佳答案
对于带或不带身份验证的 http/https 代理:
在 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
关于windows - 如何为 gem 设置代理服务器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22059670/