diff Gemfile @ 147:812711965af1

Added support for disabling supported web server without changing Gemfile.
author Edho Arief <edho@myconan.net>
date Sun, 18 Nov 2012 22:57:36 +0700
parents e0e99705e79d
children d7b64b639d15
line wrap: on
line diff
--- a/Gemfile	Sun Nov 18 00:48:32 2012 +0700
+++ b/Gemfile	Sun Nov 18 22:57:36 2012 +0700
@@ -28,9 +28,11 @@
 # To use Jbuilder templates for JSON
 # gem 'jbuilder'
 
-# Use unicorn as the app server
-gem 'unicorn', :platforms => :mri
-gem 'puma', :platforms => [:rbx, :jruby]
+group :standalone do
+  # Use unicorn as the app server
+  gem 'unicorn', :platforms => :mri
+  gem 'puma', :platforms => [:rbx, :jruby]
+end
 
 # Deploy with Capistrano
 # gem 'capistrano'