2017-03-16 5 views
0

Ich versuche, Ruby 'Gem Sass zu installieren. Ich habe Ruby Installation zuerst ausgeführt und: Gem installieren Sass. Aber ich erhalte eine Fehlermeldung:Kann Rubins Sass-Juwel nicht installieren

C: \ Windows \ system32> gem sass ERROR installieren: Konnte kein gültiges Juwel 'Sass' gefunden (> = 0) in jedem Repositeurs y

Jede Idee was könnte das sein?

Dank

Update. 
The connad: gem sources --add https://rubygems.org/ fails: 
C:\Windows\system32>gem sources --add https://rubygems.org/ 
Error fetching https://rubygems.org/: 
Errno::ETIMEDOUT: A connection attempt failed because the connected party 
did not properly respond after a period of time, or established connection failed 
because connected host has failed to respond. - connect(2) for "api.rubygems.org" 
port 443 (https://api.rubygems.org/specs.4.8.gz) 

Es muss Proxy-Einstellung, die wir für den Zugriff auf Internet nutzen. Ist es möglich, dass Ruby diese Einstellungen berücksichtigt?

aktualisieren 2.

C:\Windows\system32>gem sources --add http://rubygems.org/ 
https://rubygems.org is recommended for security over http://rubygems.org/ 

Do you want to add this insecure source? [yn] y 
Error fetching http://rubygems.org/: 
     Errno::ETIMEDOUT: A connection attempt failed because the connected part 
y did not properly respond after a period of time, or established connection fai 
led because connected host has failed to respond. - connect(2) for "api.rubygems 
.org" port 80 (http://api.rubygems.org/specs.4.8.gz) 
+0

Was ist das Ergebnis von 'gem sources' – Sajin

+0

C: \ Windows \ system32> gem Quellen *** AKTUELLE QUELLEN *** – Mark

Antwort

1

Do

gem sources --add https://rubygems.org/ 

und versuchen Sie es erneut

+0

Habe gerade meine Frage aktualisiert. – Mark

+0

Dann versuchen Sie dieses 'Juwel installieren sass - Quelle http: // rubygems.org' – Sajin

+0

Übrigens können Sie rubygems.org zugreifen? 'traceroute rubygems.org' – Sajin