节约钱,自己用源代码编译compass.app

来源:互联网 发布:淘宝客服工资多少2016 编辑:程序博客网 时间:2024/06/05 04:19

虽然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.shyeah! 然后编译好的包就在packages目录,大功告成!

原创粉丝点击