问题
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?
回答1:
This is work for me. Try this...
gem source -a http://rubygems.org/
answer y to the question "Do you want to add this insecure source?"
then you can use command...
gem install sass
- good luck, guy!
回答2:
Problem solved
Even if Norton Security was disabled, Windows firewall was disabled, still was getting this error. After uninstalling Norton Security it worked.
回答3:
Try running your console with administrative privileges.
来源:https://stackoverflow.com/questions/16136006/install-sass-using-gem-on-windows-8