nightsailer/padrino-sprockets — pull request #4 by stefl (2012-03-11 16:03:37+00:00)
Title: Add support for importing Compass etc. in your SASS

I use Compass in a lot of projects. This pull request gives you the ability to pass additional load paths in, which means you get to use a variety of other SASS/SCSS utilities, including Compass.

To see this in action:

Gemfile:

gem 'compass'

In your Padrino app:

class MyApp < Padrino::Application
register Padrino::Sockets
sprockets :paths => [Compass::Frameworks['compass'].stylesheets_directory]
...

In app/assets/application.css.scss file:
@import "compass/reset";

See that /assets/application.css in a browser gives you the Compass reset.