Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Created files for creating a hello world sinatra app using bundler.

  • Loading branch information...
commit bae1651254e8a4b3717b35f0c26ecab9e00553ad 1 parent e5ad13b
@danishkhan authored
Showing with 50 additions and 0 deletions.
  1. +5 −0 Gemfile
  2. +33 −0 Gemfile.lock
  3. +7 −0 config.ru
  4. +5 −0 fakeapp.rb
View
5 Gemfile
@@ -0,0 +1,5 @@
+source "http://rubygems.org"
+
+gem "sinatra"
+gem "pony"
+gem "notifo"
View
33 Gemfile.lock
@@ -0,0 +1,33 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ crack (0.1.8)
+ httparty (0.4.5)
+ crack (>= 0.1.1)
+ i18n (0.6.0)
+ mail (2.3.0)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.16)
+ notifo (0.1.0)
+ httparty (~> 0.4.5)
+ polyglot (0.3.2)
+ pony (1.3)
+ mail (> 2.0)
+ rack (1.3.2)
+ sinatra (1.2.6)
+ rack (~> 1.1)
+ tilt (< 2.0, >= 1.2.2)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ notifo
+ pony
+ sinatra
View
7 config.ru
@@ -0,0 +1,7 @@
+require 'rubygems'
+require 'bundler'
+
+Bundler.require
+
+require File.dirname(__FILE__) + '/fakeapp.rb'
+run Sinatra::Application
View
5 fakeapp.rb
@@ -0,0 +1,5 @@
+require 'sinatra'
+
+get '/' do
+ 'Hello world!'
+end
Please sign in to comment.
Something went wrong with that request. Please try again.