Responsive-web-design-using-compass is a project mainly written in Ruby, it's free.
How to create a flexible and responsive page with Sass/Compass
This is a sample code of how to use Sass/Compass to create a flexible grid and apply the Responsive Web-design concepts.