Permalink
Browse files

ruby app

  • Loading branch information...
massat committed Feb 15, 2017
0 parents commit 259d0af08486aabf4bcd8704dc0ed8470387753c
Showing with 40 additions and 0 deletions.
  1. +5 −0 Gemfile
  2. +23 −0 Gemfile.lock
  3. +9 −0 app.rb
  4. +3 −0 config.ru
@@ -0,0 +1,5 @@
+source "https://rubygems.org"
+
+ruby '2.4.0'
+
+gem 'sinatra'
@@ -0,0 +1,23 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ rack (1.6.5)
+ rack-protection (1.5.3)
+ rack
+ sinatra (1.4.8)
+ rack (~> 1.5)
+ rack-protection (~> 1.4)
+ tilt (>= 1.3, < 3)
+ tilt (2.0.6)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ sinatra
+
+RUBY VERSION
+ ruby 2.4.0p0
+
+BUNDLED WITH
+ 1.14.3
9 app.rb
@@ -0,0 +1,9 @@
+require 'sinatra'
+
+class App < Sinatra::Base
+
+ get '/' do
+ 'Hello world!'
+ end
+
+end
@@ -0,0 +1,3 @@
+require './app'
+
+run App

0 comments on commit 259d0af

Please sign in to comment.