Skip to content

Instantly share code, notes, and snippets.

@jasoncale
Created June 15, 2012 09:34
Show Gist options
  • Save jasoncale/2935626 to your computer and use it in GitHub Desktop.
Save jasoncale/2935626 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'bundler'
Bundler.require
require "sinatra/reloader" if development?
require 'sprockets'
require './vacationists'
map '/assets' do
environment = Sprockets::Environment.new
environment.append_path 'assets/javascripts'
environment.append_path 'assets/stylesheets'
environment.append_path 'assets/images'
run environment
end
map '/' do
run Vacationists
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment