Skip to content

Instantly share code, notes, and snippets.

@lhitchon
Created February 10, 2012 21:11
Show Gist options
  • Save lhitchon/1792908 to your computer and use it in GitHub Desktop.
Save lhitchon/1792908 to your computer and use it in GitHub Desktop.
Gist Sinatra App
require 'rubygems'
require 'sinatra'
set :protection, :except => :ip_spoofing
enable :method_override
get '/' do
"Hello"
end
source 'http://rubygems.org'
gem 'sinatra'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment