An example sinatra app configured with sprockets 2
Ruby JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits ahead of stevehodgkiss:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
views
.gitignore
Gemfile
Gemfile.lock
Guardfile
README.md
Rakefile
app.rb
config.ru

README.md

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