Created
February 10, 2012 21:11
-
-
Save lhitchon/1792908 to your computer and use it in GitHub Desktop.
Gist Sinatra App
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'sinatra' | |
set :protection, :except => :ip_spoofing | |
enable :method_override | |
get '/' do | |
"Hello" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'sinatra' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment