首先确定ruby安装上没
安装代码:
$ curl -L https://get.rvm.io | bash -s stable
$ source ~/.rvm/scripts/rvm
$ rvm -v
$ rvm install 2.0.0
$ gem -v
之后翻墙安装gem
$ gem sources --remove https://rubygems.org/
$ gem sources -a https://ruby.taobao.org/
$ gem sources -l
OK 再然后就是安装sass了
sudo gem install sass
搞定 完美!