Mac OS X 安装ruby环境
1.查看版本
$ ruby -v
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
2.查看源
$ gem source -l
*** CURRENT SOURCES ***
https://rubygems.org/
3.更换源
$ gem source -r https://rubygems.org/
https://rubygems.org/ removed from sources
4.添加源
$ gem source -a https://ruby.taobao.org
5.安装compass
$ sudo install comopass
$ compass -v
Compass 1.0.3 (Polaris)
Copyright (c) 2008-2015 Chris Eppstein
Released under the MIT License.
Compass is charityware.
Please make a tax deductable donation for a worthy cause: http://umdf.org/compass
作者:樊勇
出处:http://www.cnblogs.com/fanyong/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
我的联系方式:fanyong@gmail.com
个人独立博客:www.fy98.com