From 8fd92e5a8edd5253df3bbd969d417c3b85605642 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sat, 16 Feb 2013 11:16:17 -0800 Subject: [PATCH 1/2] use puma. Using thin and unicorn is silly --- Gemfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 18067d23..82f6f561 100644 --- a/Gemfile +++ b/Gemfile @@ -18,7 +18,6 @@ gem "haml-rails", "~> 0.3.4" gem 'jquery-rails', "~> 1.0.12" gem 'airbrake', "~> 3.0.9" gem 'bcrypt-ruby', "~> 3.0.0" -gem 'thin', "~> 1.5.0" gem 'omniauth', "~> 1.1.0" gem "omniauth-twitter", "~> 0.0.12" gem "mongo_mapper", "~> 0.12.0" @@ -47,9 +46,9 @@ gem "delayed_job", :git => "git://github.com/collectiveidea/delayed gem "delayed_job_mongo_mapper", :git => "git://github.com/earbits/delayed_job_mongo_mapper.git" gem "whenever", "~> 0.6.8" -group :production do - gem 'unicorn', "~> 4.0.1" -end +# web server + +gem "puma" group :development, :test do gem "database_cleaner", "~> 0.6.7" From be3679021fb5ef439e5d9942493f065d5a942810 Mon Sep 17 00:00:00 2001 From: Carol Nichols Date: Mon, 18 Feb 2013 11:28:19 -0500 Subject: [PATCH 2/2] Specify a version for puma and bundle --- Gemfile | 2 +- Gemfile.lock | 16 +++------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/Gemfile b/Gemfile index 82f6f561..dbb1521a 100644 --- a/Gemfile +++ b/Gemfile @@ -48,7 +48,7 @@ gem "whenever", "~> 0.6.8" # web server -gem "puma" +gem "puma", "~> 1.6.3" group :development, :test do gem "database_cleaner", "~> 0.6.7" diff --git a/Gemfile.lock b/Gemfile.lock index 0848ca8c..675e5ba4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -103,7 +103,6 @@ GEM draper (0.11.1) activesupport (>= 2.3.10) erubis (2.7.0) - eventmachine (1.0.0) exceptional (2.0.32) rack execjs (1.4.0) @@ -131,7 +130,6 @@ GEM jquery-rails railties (>= 3.1.0) json (1.7.7) - kgio (2.7.4) launchy (2.0.5) addressable (~> 2.2.6) libv8 (3.3.10.4) @@ -179,6 +177,8 @@ GEM polyglot (0.3.3) pony (1.4) mail (> 2.0) + puma (1.6.3) + rack (~> 1.2) pygmentize (0.0.3) quiet_assets (1.0.1) railties (~> 3.1) @@ -204,7 +204,6 @@ GEM rake (>= 0.8.7) rdoc (~> 3.4) thor (>= 0.14.6, < 2.0) - raindrops (0.10.0) rake (10.0.3) ratom (0.7.2) libxml-ruby (~> 2.3.2) @@ -240,10 +239,6 @@ GEM tilt (~> 1.1, != 1.3.0) therubyracer (0.9.10) libv8 (~> 3.3.10) - thin (1.5.0) - daemons (>= 1.0.9) - eventmachine (>= 0.12.6) - rack (>= 1.0.0) thor (0.17.0) tilt (1.3.3) tire (0.4.3) @@ -263,10 +258,6 @@ GEM uglifier (1.0.4) execjs (>= 0.3.0) multi_json (>= 1.0.2) - unicorn (4.0.1) - kgio (~> 2.4) - rack - raindrops (~> 0.6) vcr (1.10.3) webmock (1.6.4) addressable (~> 2.2, > 2.2.5) @@ -312,6 +303,7 @@ DEPENDENCIES ostatus (~> 0.0.12) osub (~> 0.0.6) pony (~> 1.3) + puma (~> 1.6.3) pygmentize (~> 0.0.3) quiet_assets (~> 1.0.0) rails (= 3.2.12) @@ -325,12 +317,10 @@ DEPENDENCIES show_me_the_cookies (~> 1.1.0) simplecov (~> 0.4.0) therubyracer (~> 0.9.9) - thin (~> 1.5.0) tire (~> 0.4.1) twitter (~> 3.5.0) tzinfo (~> 0.3.29) uglifier (~> 1.0.0) - unicorn (~> 4.0.1) vcr (~> 1.10.3) webmock (~> 1.6.4) whenever (~> 0.6.8)