Permalink
Browse files

Use Unicorn instead of Thin

  • Loading branch information...
1 parent 2c7fd2e commit eaae9f1bef341794998f81bb89496338df732427 @koraktor committed Mar 14, 2012
Showing with 11 additions and 9 deletions.
  1. +1 −1 Gemfile
  2. +7 −7 Gemfile.lock
  3. +1 −1 Procfile
  4. +2 −0 config/unicorn.rb
View
@@ -7,7 +7,7 @@ gem 'kaminari', '~> 0.13.0'
gem 'mongoid', '~> 2.4.2'
gem 'rails', '3.2.2'
gem 'text', '~> 1.0.2'
-gem 'thin', '~> 1.3.1', platforms: :ruby
+gem 'unicorn', '~> 4.2.0', platforms: :ruby
group :assets do
gem 'compass-rails', '~> 1.0.0'
View
@@ -43,11 +43,9 @@ GEM
sass (~> 3.1)
compass-rails (1.0.0)
compass (~> 0.12.0)
- daemons (1.1.6)
dalli (1.1.5)
diff-lcs (1.1.3)
erubis (2.7.0)
- eventmachine (0.12.10)
execjs (1.3.0)
multi_json (~> 1.0)
fssm (0.2.8.1)
@@ -62,6 +60,7 @@ GEM
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
+ kgio (2.7.2)
mail (2.4.1)
i18n (>= 0.4.0)
mime-types (~> 1.16)
@@ -101,6 +100,7 @@ GEM
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
+ raindrops (0.8.0)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
@@ -127,10 +127,6 @@ GEM
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
text (1.0.2)
- thin (1.3.1)
- daemons (>= 1.0.9)
- eventmachine (>= 0.12.6)
- rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
@@ -140,6 +136,10 @@ GEM
uglifier (1.2.3)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
+ unicorn (4.2.0)
+ kgio (~> 2.6)
+ rack
+ raindrops (~> 0.7)
PLATFORMS
ruby
@@ -158,5 +158,5 @@ DEPENDENCIES
rspec-rails (~> 2.8.0)
sass-rails (~> 3.2.3)
text (~> 1.0.2)
- thin (~> 1.3.1)
uglifier (~> 1.2.1)
+ unicorn (~> 4.2.0)
View
@@ -1 +1 @@
-web: bundle exec rails server thin -p $PORT
+web: bundle exec unicorn -p $PORT -c config/unicorn.rb
View
@@ -0,0 +1,2 @@
+worker_processes 4
+timeout 30

0 comments on commit eaae9f1

Please sign in to comment.