Skip to content

Instantly share code, notes, and snippets.

@drewolson
Created Jan 7, 2009
Embed
What would you like to do?
require 'rubygems'
gem 'sinatra', '=0.3.2'
require 'sinatra'
ROOT_DIR = File.expand_path(File.dirname(__FILE__))
Sinatra::Application.default_options.merge!(
:views => File.join(ROOT_DIR, 'views'),
:app_file => File.join(ROOT_DIR, 'drewolson.rb'),
:run => false
)
run Sinatra.application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment