Skip to content

Instantly share code, notes, and snippets.

@jpoz
Created April 22, 2009 17:45
Show Gist options
  • Save jpoz/99944 to your computer and use it in GitHub Desktop.
Save jpoz/99944 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'sinatra'
Sinatra::Application.default_options.merge!(
:run => false,
:env => ENV['RACK_ENV']
)
get '/home/jpoz/wwc/public' do
"This does work"
end
get '/' do
"this doesn't work"
end
run Sinatra::Application.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment