sinatra says hi

This commit is contained in:
Gwenhael Le Moine 2014-07-14 12:30:48 +02:00
parent 5334f96032
commit e2d5aee48b
3 changed files with 24 additions and 0 deletions

1
Gemfile Normal file
View file

@ -0,0 +1 @@
gem 'sinatra'

16
Gemfile.lock Normal file
View file

@ -0,0 +1,16 @@
GEM
specs:
rack (1.5.2)
rack-protection (1.5.3)
rack
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
tilt (1.4.1)
PLATFORMS
ruby
DEPENDENCIES
sinatra

7
app.rb Normal file
View file

@ -0,0 +1,7 @@
# encoding: utf-8
require 'sinatra'
get '/' do
'OH HAI!'
end