mac下用ruby安装sass && webstorm下给scss文件添加watch
1.安装rvm
先安装 [Xcode](http://developer.apple.com/xcode/) 开发工具,它将帮你安装好 Unix 环境需要的开发包
sudo curl -L https://get.rvm.io | bash -s stable
sudo source ~/.rvm/scripts/rvm
rvm -v
2.用rvm安装ruby
sudo rvm install ruby-2.0.0-p648
gem -v
gem source -r https://rubygems.org/
gem source -a https://ruby.taobao.org
gem sources -l
sudo gem install sass
3.webstorm下给scss文件添加watch
(1)查看sass的安装路径
which sass
(2)设置webstorm
(3)新建一个scss文件,可以看到对应生成了css