Browse files

Added Procfile

  • Loading branch information...
1 parent 1ca0570 commit 0cbc43e144798ad30164a0afee303ceb4cdbd59c @pjamest committed Jul 22, 2012
Showing with 9 additions and 7 deletions.
  1. +2 −1 Gemfile
  2. +1 −0 Procfile
  3. +0 −5 app.rb
  4. +6 −1 config.ru
View
3 Gemfile
@@ -1,3 +1,4 @@
source :rubygems
gem 'sinatra'
-gem 'kramdown'
+gem 'kramdown'
+gem 'thin'
View
1 Procfile
@@ -0,0 +1 @@
+web: bundle exec thin start -p $PORT -e $RACK_ENV
View
5 app.rb
@@ -1,8 +1,3 @@
-require 'rubygems'
-require 'bundler/setup'
-require 'sinatra'
-require 'kramdown'
-
get '/' do
erb :index
end
View
7 config.ru
@@ -1,2 +1,7 @@
-require './app'
+require 'rubygems'
+require 'bundler'
+
+Bundler.require
+
+require './app.rb'
run Sinatra::Application

0 comments on commit 0cbc43e

Please sign in to comment.