/sinatra-asset-pipeline

An example sinatra app configured with sprockets 2

Primary LanguageRuby

Sinatra with Sprockets 2 (Asset Pipeline)

An example Sinatra app configured with the Sprockets 2 asset pipeline. A custom guard file is available to run the asset pipeline precompiler whenever an asset changes.

In this fork of sinatra-asset-pipeline, I've setup the project using sprockets-helpers and sprockets-sass.

To run:

$ bundle install
$ bundle exec guard
$ bundle exec rackup

And visit http://localhost:9292