Skip to content
tow8ie edited this page Sep 13, 2010 · 12 revisions

Installing into a fresh Rails app

After installing the Compass and 960gs gems all you need to do to setup your RAILS app (opposed to a straight Ruby app) to use 960gs within Compass is this from the root directory of your app:

compass --rails -r ninesixty -f 960 .

Installing into an existing Rails app

If you like to use the 960 plugin in an existing Rails app that already uses Compass then enter this line in the head of your config/compass.config file:

require "ninesixty"

Don’t forget to restart your server!

Now you can use the plugin provided grid mixins by using this import directive in the file where you want to use them:

@import 960/grid.sass

Clone this wiki locally