From e2d5aee48b7f352ca674553817a4754924f3e70a Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 14 Jul 2014 12:30:48 +0200 Subject: [PATCH] sinatra says hi --- Gemfile | 1 + Gemfile.lock | 16 ++++++++++++++++ app.rb | 7 +++++++ 3 files changed, 24 insertions(+) create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 app.rb diff --git a/Gemfile b/Gemfile new file mode 100644 index 00000000..e14b21b8 --- /dev/null +++ b/Gemfile @@ -0,0 +1 @@ +gem 'sinatra' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 00000000..054aa59e --- /dev/null +++ b/Gemfile.lock @@ -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 diff --git a/app.rb b/app.rb new file mode 100644 index 00000000..714bfe8e --- /dev/null +++ b/app.rb @@ -0,0 +1,7 @@ +# encoding: utf-8 + +require 'sinatra' + +get '/' do + 'OH HAI!' +end