Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/55.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 通过命令提示符安装指南针时出错_Ruby On Rails_Compass - Fatal编程技术网

Ruby on rails 通过命令提示符安装指南针时出错

Ruby on rails 通过命令提示符安装指南针时出错,ruby-on-rails,compass,Ruby On Rails,Compass,我正在尝试安装compass,已下载ruby 22.0版,但出现错误。我尝试以管理员身份安装更新,但仍然出现错误 C:\Ruby22-x64\bin>gem install compass ERROR: Could not find a valid gem 'compass' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ECONNRE

我正在尝试安装compass,已下载ruby 22.0版,但出现错误。我尝试以管理员身份安装更新,但仍然出现错误

    C:\Ruby22-x64\bin>gem install compass
      ERROR:  Could not find a valid gem 'compass' (>= 0), here is why:
      Unable to download data from https://rubygems.org/ - Errno::ECONNRESET
     : An existing connection was forcibly closed by the remote host. -           SSL_connect (https://api.rubygems.org/specs.4.8.gz).

请对此提供帮助。

尝试更改源代码:
gem安装指南针--sourcehttp://rubygems.org
@jonsnow我通过更改源代码得到的错误是一样的:
gem install compass--sourcehttp://rubygems.org
@jonsnow我遇到了同样的错误