Skip to content

Instantly share code, notes, and snippets.

@levicole
Created August 10, 2011 03:16
Show Gist options
  • Save levicole/1136014 to your computer and use it in GitHub Desktop.
Save levicole/1136014 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'bundler'
Bundler.require
require './app'
require 'sass/plugin/rack'
root = ::File.dirname(__FILE__)
Compass.add_project_configuration(root + '/config.rb')
Compass.configure_sass_plugin!
use Sass::Plugin::Rack
use Rack::Static, :urls => ["/stylesheets"], :root => "tmp"
run Sinatra::Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment