在Windows 8上使用gem安装SASS [英] Install SASS using gem on Windows 8

查看:135
本文介绍了在Windows 8上使用gem安装SASS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Windows 8 x64上安装SASS,但即使在防火墙关闭的情况下仍然出现错误。



我做了这个命令:

  C:\Ruby200-x64\bin> gem install sass 
(或C: \Ruby200-x64\bin> ruby​​ -S gem install sass)

我得到此响应:

 错误:无法找到有效的gem'sass'(> = 0),原因:
无法从http://rubygems.org/下载数据 - Errno :: EACCES:Per
任务被拒绝 - connect(2)(http://rubygems.org/latest_specs.4.8 .gz)

有人知道如何解决这个问题吗?

解决方案

解决问题

即使禁用了Norton Security,Windows防火墙被禁用,仍然出现此错误。卸载Norton Security后,它可以正常工作。


I am trying to install SASS on Windows 8 x64, but still getting errors, even when my firewall is switched off.

I make this command:

C:\Ruby200-x64\bin>gem install sass
(or C:\Ruby200-x64\bin>ruby -S gem install sass)

I get this response:

ERROR:  Could not find a valid gem 'sass' (>= 0), here is why:
          Unable to download data from http://rubygems.org/ - Errno::EACCES: Per
mission denied - connect(2) (http://rubygems.org/latest_specs.4.8.gz)

Does anybody know how to solve this problem, please?

解决方案

Problem solved

Even if Norton Security was disabled, Windows firewall was disabled, still was getting this error. After uninstalling Norton Security it worked.

这篇关于在Windows 8上使用gem安装SASS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆