安装Ruby:
ruby installer 下载后安装
设置代理镜像:
gem sources --remove https://rubygems.org/ # 删除默认
gem sources --add https://gems.ruby-china.org/ # 添加镜像源
如果报错:
Error fetching https://gems.ruby-china.org/:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://gems.ruby-china.org/specs.4.8.gz)
gem sources --add http://gems.ruby-china.org/ # 去掉ssl
安装 sass
gem install sass
(完)