changeset 17:8c0f70f8249e

Added webservers - puma and unicorn.
author Edho Arief <edho@myconan.net>
date Mon, 27 Aug 2012 07:44:17 -0700
parents 0d68bfd35971
children 9f80b5700e93
files Gemfile Gemfile.lock
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gemfile	Sun Aug 26 20:02:41 2012 -0700
+++ b/Gemfile	Mon Aug 27 07:44:17 2012 -0700
@@ -26,7 +26,8 @@
 # gem 'jbuilder'
 
 # Use unicorn as the app server
-# gem 'unicorn'
+gem 'unicorn', :platforms => :mri
+gem 'puma', :platforms => [:rbx, :jruby]
 
 # Deploy with Capistrano
 # gem 'capistrano'
--- a/Gemfile.lock	Sun Aug 26 20:02:41 2012 -0700
+++ b/Gemfile.lock	Mon Aug 27 07:44:17 2012 -0700
@@ -37,6 +37,7 @@
     i18n (0.6.0)
     journey (1.0.4)
     json (1.7.5)
+    kgio (2.7.4)
     mail (2.4.4)
       i18n (>= 0.4.0)
       mime-types (~> 1.16)
@@ -45,6 +46,8 @@
     multi_json (1.3.6)
     mysql2 (0.3.11)
     polyglot (0.3.3)
+    puma (1.6.1)
+      rack (~> 1.2)
     rack (1.4.1)
     rack-cache (1.2)
       rack (>= 0.4)
@@ -67,6 +70,7 @@
       rake (>= 0.8.7)
       rdoc (~> 3.4)
       thor (>= 0.14.6, < 2.0)
+    raindrops (0.10.0)
     rake (0.9.2.2)
     rdoc (3.12)
       json (~> 1.4)
@@ -88,6 +92,10 @@
     uglifier (1.2.7)
       execjs (>= 0.3.0)
       multi_json (~> 1.3)
+    unicorn (4.3.1)
+      kgio (~> 2.6)
+      rack
+      raindrops (~> 0.7)
 
 PLATFORMS
   ruby
@@ -95,6 +103,8 @@
 DEPENDENCIES
   json
   mysql2
+  puma
   rails (= 3.2.8)
   sass-rails (~> 3.2.3)
   uglifier (>= 1.0.3)
+  unicorn