虽然compass.app是开源的,但如果你要用编译好的还是需要购买的,10美元,不过由于开源,所以自己可以编译。
具体步骤如下,在我的Darwin机上。
$ rvm install 1.9.2 // tell rvm to install ruby
$ rvm use 1.9.2 // tell rvm use ruby 1.9.2 ver.
$ rvm install jruby // install jruby
$ rvm use jruby //jruby change to default
$ jruby -S gem install rawr // get rawr gem for jruby
// clone latest compass source code from github
$ git clone git://github.com/handlino/CompassApp.git // Compile the Compass.app
$ cd CompassApp $ bin/build-all.sh
yeah! 然后编译好的包就在packages目录,大功告成!