Sauce is a piece of Rack middleware for rendering Sass templates.
require 'sauce' require 'app' app = Rack::Builder.new { use Sauce, :root => '/path/to/sass/templates' map "/" do run Sinatra::Application end }.to_app Rack::Handler::Thin.run app, :Port => 3000, :Host => "0.0.0.0"
This will run a Sinatra app on port 3000, but serve all files under /stylesheets as CSS, parsing them using Sass.
Github: github.com/jferris/sauce/tree/master
Gem:
gem install jferris-sauce --source http://gems.github.com
Sauce is distributed under the MIT License.
Sauce was written by Joe Ferris: joeferris.me
Copyright 2009 Joe Ferris.