mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 21:56:55 -04:00
Use unicorn instead of Thin webserver
This is in the name of eliminating unnecessary differences between development and production. You must invoke unicorn with `unicorn` rather than `rails s`. By default it listens on port 8080.
This commit is contained in:
3
Gemfile
3
Gemfile
@@ -6,6 +6,7 @@ gem 'rails', '3.2.13'
|
||||
gem 'rack', '~>1.4.5'
|
||||
gem 'json', '~>1.7.7'
|
||||
gem 'haml'
|
||||
gem 'unicorn' # http server
|
||||
|
||||
gem 'cancan'
|
||||
|
||||
@@ -20,7 +21,6 @@ gem 'active_utils', '1.0.5',
|
||||
group :production, :staging do
|
||||
gem 'pg'
|
||||
gem 'newrelic_rpm'
|
||||
gem 'unicorn'
|
||||
gem 'dalli'
|
||||
gem 'memcachier'
|
||||
end
|
||||
@@ -92,7 +92,6 @@ gem 'omniauth-flickr'
|
||||
gem 'rake', '>= 10.0.0'
|
||||
|
||||
group :development, :test do
|
||||
gem 'thin'
|
||||
gem 'sqlite3'
|
||||
gem 'haml-rails'
|
||||
gem 'rspec-rails', '~> 2.12.1'
|
||||
|
||||
@@ -81,7 +81,6 @@ GEM
|
||||
rest-client
|
||||
simplecov (>= 0.7)
|
||||
thor
|
||||
daemons (1.1.9)
|
||||
dalli (2.6.4)
|
||||
debugger (1.5.0)
|
||||
columnize (>= 0.3.1)
|
||||
@@ -96,7 +95,6 @@ GEM
|
||||
warden (~> 1.2.1)
|
||||
diff-lcs (1.1.3)
|
||||
erubis (2.7.0)
|
||||
eventmachine (1.0.3)
|
||||
execjs (1.4.0)
|
||||
multi_json (~> 1.0)
|
||||
factory_girl (4.2.0)
|
||||
@@ -213,10 +211,6 @@ GEM
|
||||
sqlite3 (1.3.7)
|
||||
therubyracer (0.10.2)
|
||||
libv8 (~> 3.3.10)
|
||||
thin (1.5.1)
|
||||
daemons (>= 1.0.9)
|
||||
eventmachine (>= 0.12.6)
|
||||
rack (>= 1.0.0)
|
||||
thor (0.17.0)
|
||||
tilt (1.3.6)
|
||||
treetop (1.4.12)
|
||||
@@ -278,7 +272,6 @@ DEPENDENCIES
|
||||
sass-rails (~> 3.2.3)
|
||||
sqlite3
|
||||
therubyracer (~> 0.10.2)
|
||||
thin
|
||||
twitter-bootstrap-rails!
|
||||
uglifier (>= 1.0.3)
|
||||
unicorn
|
||||
|
||||
Reference in New Issue
Block a user