Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Compiling Compass.app on Mac OS X
Tutorial for compiling the Compass.app (http://compass.handlino.com/)
=====================================================================
Java installed?
java -version
Load jRuby (for example JRuby 1.6.5.1 Binary .zip)
http://jruby.org/download
Unzip jRuby to `/usr/local/`
Rename folder to `jruby`
Open Terminal and define the path for the current session, adding jruby to simplify the path calls
`PATH=/usr/local/jruby/bin:$PATH`
Installation of a gem (rawr) from jruby
`jruby -S gem install rawr`
Switch to Applications folder
`cd ~/Applications`
Create a clone from Github Repo
`git clone git://github.com/handlino/CompassApp.git "CompassApp"`
Switch to CompassApp folder
`cd CompassApp/`
Compile
`bin/build-all.sh`
Updating the App
===============
Define the path for the current session
`PATH=/usr/local/jruby/bin:$PATH`
Check for jruby updates
`jruby -S gem update`
Switch to CompassApp folder
`cd ~/Applications/CompassApp`
Get new files from Github Repo
`git pull`
Compile
`bin/build-all.sh`
Props MoOx
http://moox.fr/blog/compass-app-application-pour-compiler-css-sass-compass/
@hrnn
Copy link

hrnn commented Sep 9, 2012

Time ago i also compiled my own copy you can see almost all steps here http://hernan.in/im-beginning-with-compass

@inmedimptorolta
Copy link

inmedimptorolta commented Jul 23, 2014

As rawr has been deprecated, you can install it using:

jruby -S gem install rawr --source http://gems.neurogami.com

@lks128
Copy link

lks128 commented Nov 7, 2014

@anteprimorac, I believe were missing JDK on your system ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment