Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use thin

  • Loading branch information...
commit b2fbc698a197fa6373d61f70164f759b718d6dd6 1 parent 42e737b
@siuying authored
Showing with 9 additions and 1 deletion.
  1. +1 −0  Gemfile
  2. +7 −0 Gemfile.lock
  3. +1 −1  Procfile
View
1  Gemfile
@@ -3,6 +3,7 @@ source "http://rubygems.org"
gem "sinatra", "~> 1.2.0"
gem "haml", "~> 3.0.23"
gem "dalli"
+gem "thin"
gem "yajl-ruby", "~> 0.7.8"
gem "activerecord", "~> 3.0.1"
View
7 Gemfile.lock
@@ -15,7 +15,9 @@ GEM
arel (1.0.1)
activesupport (~> 3.0.0)
builder (2.1.2)
+ daemons (1.1.8)
dalli (2.0.3)
+ eventmachine (1.0.0.beta.4)
faraday (0.5.3)
addressable (~> 2.2.2)
multipart-post (~> 1.0.1)
@@ -38,6 +40,10 @@ GEM
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
sqlite3 (1.3.6)
+ thin (1.3.1)
+ daemons (>= 1.0.9)
+ eventmachine (>= 0.12.6)
+ rack (>= 1.0.0)
tilt (1.3.3)
typhoeus (0.1.31)
rack
@@ -60,5 +66,6 @@ DEPENDENCIES
running_man (~> 0.2.1)
sinatra (~> 1.2.0)
sqlite3
+ thin
typhoeus (~> 0.1.31)
yajl-ruby (~> 0.7.8)
View
2  Procfile
@@ -1 +1 @@
-web: bundle exec rackup -p $PORT
+web: bundle exec thin -p $PORT -e $RACK_ENV start
Please sign in to comment.
Something went wrong with that request. Please try again.