Mac安装 sass

一、确保已安装rubyshell

$ ruby -v
ruby 2.3.7p456

二、替换RubyGems为国内镜像sass

$ gem sources --remove https://rubygems.org/

# 若是你系统不支持https用http
$ gem sources -a https://gems.ruby-china.com/

$ gem sources -l

三、安装ruby

$ sudo gem install sass

$ sass -v

安装完了以后 WebStorm.app, PhpStorm.app 会自动识别路径app

备注:历史镜像ide

//国外
https://rubygems.org

// 国内
[弃用]https://ruby.taobao.org/

[弃用]https://gems.ruby-china.org/

[最新]https://gems.ruby-china.com/