首页  >  问答  >  正文

前端 - windows下rubygems安装失败

在配置webstorm编译scss的环境,安装rubygems的时候,安装的淘宝镜像,可以提示安装失败。
Error fetching https://ruby.taobao.org/:

    SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: ce

rtificate verify failed (https://rubygems-china.oss-cn-hangzhou.aliyuncs.com/spe
cs.4.8.gz)

巴扎黑巴扎黑2709 天前819

全部回复(3)我来回复

  • 我想大声告诉你

    我想大声告诉你2017-04-24 16:01:50

    淘宝已经不再维护ruby镜像了,你现在应该访问ruby china来获取新的镜像信息。

    鉴于你是windows系统,配置镜像请用:gem source -a http://gems.ruby-china.org

    回复
    0
  • 漂亮男人

    漂亮男人2017-04-24 16:01:50

    翻墙或者换淘宝的npm,慕课网上有关于Sass的教程

    回复
    0
  • 世界只因有你

    世界只因有你2017-04-24 16:01:50

    我之前也遇到过这样的问题,这是因为Windows下SSL证书无法验证,解决方案在这里关于 Windows 下证书无法验证问题

    还有一种方案用把https换成http就OK啦。

    回复
    0
  • 取消回复