Skip to content

Commit

Permalink
Update the Sinatra Rackup specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Jun 16, 2009
1 parent 140cddb commit d51e0a2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions doc/users_guide_snippets/rackup_specifications.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,7 @@ run Ramaze::Adapter::Base
------------------------------------------------------
require 'rubygems'
require 'sinatra'

root_dir = ::File.dirname(__FILE__)

set :environment, ENV['RACK_ENV'].to_sym
set :root, root_dir
set :app_file, ::File.join(root_dir, 'app.rb')
disable :run
require 'app.rb'

run Sinatra::Application
------------------------------------------------------

0 comments on commit d51e0a2

Please sign in to comment.