Home  >  Q&A  >  body text

ruby - 安装sass无法更换淘宝源


这是为什么呢,求高手解答

黄舟黄舟2759 days ago791

reply all(4)I'll reply

  • PHPz

    PHPz2017-04-24 09:14:44

    gem sources --remove https://ruby.taobao.org/ --add http://rubygems.org/
    gem sources -l

    My computer at home has circumvented the wall, and I couldn’t add it using the official source;
    Finally, I removed the s and installed it successfully without having to circumvent the wall.

    reply
    0
  • PHPz

    PHPz2017-04-24 09:14:44

    Taobao source is no longer maintained, use ruby-china source

    See
    ruby-china

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-24 09:14:44

    By the way, I installed sass directly. Is it blocked?

    reply
    0
  • 迷茫

    迷茫2017-04-24 09:14:44

    The Taobao source has stopped maintenance, and the new gems source is provided by the ruby-china community.

    gem sources -c #删除所有镜像地址
    gem sources -a https://gems.ruby-china.org #添加ruby-china的镜像地址

    reply
    0
  • Cancelreply