public
Created

  • Download Gist
Gemfile
Ruby
1 2 3 4
source :gemcutter
 
gem 'sinatra', '1.1.0', :git => 'http://github.com/sinatra/sinatra.git'
gem 'RedCloth', '4.2.3'
app.rb
Ruby
1 2 3 4 5
require 'sinatra'
 
get '/' do
"Hello From Sinatra"
end
config.ru
Ruby
1 2 3 4 5 6
require 'bundler'
Bundler.setup
 
require 'app'
 
run Sinatra::Application

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.