现在的位置: 首页 > 综合 > 正文

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

2013年10月07日 ⁄ 综合 ⁄ 共 429字 ⁄ 字号 评论关闭

虽然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目录,大功告成!

抱歉!评论已关闭.