Skip to content

Instantly share code, notes, and snippets.

@kaichen
Created June 27, 2011 08:04
Show Gist options
  • Select an option

  • Save kaichen/1048474 to your computer and use it in GitHub Desktop.

Select an option

Save kaichen/1048474 to your computer and use it in GitHub Desktop.
config.ru with sass autocompile support
require 'sass/plugin/rack'
Sass::Plugin.options.merge!(:css_location => "./path/to/stylesheets")
use Sass::Plugin::Rack
run Rack::Directory.new(".")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment