【问题标题】:Gem::RemoteFetcher::FetchError in installing sassGem::RemoteFetcher::FetchError 安装 sass
【发布时间】:2018-11-07 19:27:46
【问题描述】:

我是 sass 的初学者,想在窗口 10 上安装 sass,然后安装 ruby​​ 安装程序,当我在命令提示符下输入 gem install sass 命令时,出现以下错误:

Fetching: rb-fsevent-0.10.3.gem (22%)ERROR: While execution gem ... (Gem::RemoteFetcher::FetchError) 连接重置太多https://api.rubygems.org/gems/rb-fsevent-0.10.3.gem

command prompt image

我用谷歌搜索了该错误,但无法解决该错误,并在三个不同版本中安装了 ruby​​ 安装程序,但每次输入 gem install sass 我都会收到相同的错误。 同样在 windows 防火墙中,ruby 解释器具有公共权限。

【问题讨论】:

    标签: sass rubyinstaller


    【解决方案1】:

    我找到了答案。当我创建了一个名为 RubyOpt 且值 rubygems 的系统变量时,sass 已正确安装。

    【讨论】:

      猜你喜欢
      • 2018-10-14
      • 1970-01-01
      • 2012-10-03
      • 2015-03-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多