设置ruby环境
gem update --system
gem install compass
gem install compass
可能报错
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/compass
解决方法.安装时执行
sudo gem install -n /usr/local/bin compass
用compass创建项目
compass create <myproject>