安装错误 gem 安装 sass windows 7
Error installing gem install sass windows 7
请帮我解决这个安装错误。
先安装ruby"Ruby 2.1.5"然后在cmd中写"gem install sass"但是报错
C:\Ruby21
C:>ruby -v ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]
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::ETIMEDOUT: Se produjo un error durante el intento de conexi?n
ya que la parte conectada no respondi? adecuadamente tras un periodo
de tiempo, o bien se produjo un error e n la conexi?n establecida ya
que el host conectado no ha podido responder. - con nect(2) for
"api.rubygems.org" port 443 (https://api.rubygems.org/latest_specs.4
.8.gz)
我已经删除了代理,甚至给了我免费的 ip 和安装权限 "gem install sass" 但是错误不断出现,但现在似乎是另一个错误
C:\Users\usuario>gem install sass
ERROR: Could not find a valid gem 'sass' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://api.rubygems.org/latest_specs.4.8.gz)
检查您的防火墙和网络连接。我在通过我工作的公司的网络连接时遇到了这个问题,因为我们有一个代理阻止了这些。
检查要在防火墙中打开的这些地址和端口:
rubygems.org 443
github.com 443
s3.amazonaws.com 443
多亏了https://www.youtube.com/user/johanricardo1108/about
我交到了朋友
有:
gem 来源-a http://rubygems.org/
确认然后这个:
gem 安装 sass
C:\Ruby21>gem sources -a http://rubygems.org/
https://rubygems.org is recommended for security over http://rubygems.org/
Do you want to add this insecure source? [yn] y
http://rubygems.org/ added to sources
C:\Ruby21>gem install sass
Fetching: sass-3.4.12.gem (100%)
Successfully installed sass-3.4.12
Parsing documentation for sass-3.4.12
Installing ri documentation for sass-3.4.12
Done installing documentation for sass after 6 seconds
WARNING: Unable to pull data from 'https://rubygems.org/': SSL_connect returned
=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (htt
ps://api.rubygems.org/latest_specs.4.8.gz)
1 gem installed
C:\Ruby21>sass -v
Sass 3.4.12 (Selective Steve)
请帮我解决这个安装错误。 先安装ruby"Ruby 2.1.5"然后在cmd中写"gem install sass"但是报错
C:\Ruby21
C:>ruby -v ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]
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::ETIMEDOUT: Se produjo un error durante el intento de conexi?n ya que la parte conectada no respondi? adecuadamente tras un periodo de tiempo, o bien se produjo un error e n la conexi?n establecida ya que el host conectado no ha podido responder. - con nect(2) for "api.rubygems.org" port 443 (https://api.rubygems.org/latest_specs.4 .8.gz)
我已经删除了代理,甚至给了我免费的 ip 和安装权限 "gem install sass" 但是错误不断出现,但现在似乎是另一个错误
C:\Users\usuario>gem install sass
ERROR: Could not find a valid gem 'sass' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://api.rubygems.org/latest_specs.4.8.gz)
检查您的防火墙和网络连接。我在通过我工作的公司的网络连接时遇到了这个问题,因为我们有一个代理阻止了这些。
检查要在防火墙中打开的这些地址和端口:
rubygems.org 443
github.com 443
s3.amazonaws.com 443
多亏了https://www.youtube.com/user/johanricardo1108/about
我交到了朋友有: gem 来源-a http://rubygems.org/ 确认然后这个: gem 安装 sass
C:\Ruby21>gem sources -a http://rubygems.org/
https://rubygems.org is recommended for security over http://rubygems.org/
Do you want to add this insecure source? [yn] y
http://rubygems.org/ added to sources
C:\Ruby21>gem install sass
Fetching: sass-3.4.12.gem (100%)
Successfully installed sass-3.4.12
Parsing documentation for sass-3.4.12
Installing ri documentation for sass-3.4.12
Done installing documentation for sass after 6 seconds
WARNING: Unable to pull data from 'https://rubygems.org/': SSL_connect returned
=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (htt
ps://api.rubygems.org/latest_specs.4.8.gz)
1 gem installed
C:\Ruby21>sass -v
Sass 3.4.12 (Selective Steve)