Skip to content

Commit

Permalink
try using unicorn on heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
James Darling committed May 10, 2012
1 parent b14b87d commit 430542b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source 'http://rubygems.org'

gem 'sinatra'
gem 'sinatra'
gem 'unicorn'
9 changes: 8 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
GEM
remote: http://rubygems.org/
specs:
kgio (2.7.4)
rack (1.3.2)
raindrops (0.8.0)
sinatra (1.2.6)
rack (~> 1.1)
tilt (< 2.0, >= 1.2.2)
tilt (>= 1.2.2, < 2.0)
tilt (1.3.3)
unicorn (4.3.1)
kgio (~> 2.6)
rack
raindrops (~> 0.7)

PLATFORMS
ruby

DEPENDENCIES
sinatra
unicorn
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: bundle exec unicorn -p $PORT -c ./unicorn.rb
3 changes: 3 additions & 0 deletions unicorn.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
worker_processes 3
timeout 30
preload_app true

0 comments on commit 430542b

Please sign in to comment.