Skip to content

Commit

Permalink
ruby app
Browse files Browse the repository at this point in the history
  • Loading branch information
massat committed Feb 16, 2017
0 parents commit 259d0af
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Gemfile
@@ -0,0 +1,5 @@
source "https://rubygems.org"

ruby '2.4.0'

gem 'sinatra'
23 changes: 23 additions & 0 deletions Gemfile.lock
@@ -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 changes: 9 additions & 0 deletions app.rb
@@ -0,0 +1,9 @@
require 'sinatra'

class App < Sinatra::Base

get '/' do
'Hello world!'
end

end
3 changes: 3 additions & 0 deletions config.ru
@@ -0,0 +1,3 @@
require './app'

run App

0 comments on commit 259d0af

Please sign in to comment.