Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install SASS using gem on Windows 8

Tags:

sass

gem

ruby-2.0

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?

like image 787
fmstoun Avatar asked Dec 26 '22 05:12

fmstoun


1 Answers

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!
like image 94
Tik Avatar answered Jan 02 '23 08:01

Tik