Commit 95941b36 by Ibrahim Awwal

Guardfile set up for unicorn.

parent 328bd167
...@@ -46,6 +46,8 @@ gem 'rest-client' ...@@ -46,6 +46,8 @@ gem 'rest-client'
group :test do group :test do
gem 'rspec' gem 'rspec'
gem 'rack-test', :require => "rack/test" gem 'rack-test', :require => "rack/test"
gem 'guard'
gem 'guard-unicorn'
end end
gem 'newrelic_rpm' gem 'newrelic_rpm'
......
...@@ -84,11 +84,17 @@ GEM ...@@ -84,11 +84,17 @@ GEM
erubis (2.7.0) erubis (2.7.0)
faker (1.0.1) faker (1.0.1)
i18n (~> 0.4) i18n (~> 0.4)
guard (1.3.2)
listen (>= 0.4.2)
thor (>= 0.14.6)
guard-unicorn (0.0.7)
guard (>= 1.1)
hashr (0.0.21) hashr (0.0.21)
hike (1.2.1) hike (1.2.1)
i18n (0.6.0) i18n (0.6.0)
journey (1.0.4) journey (1.0.4)
kgio (2.7.4) kgio (2.7.4)
listen (0.5.0)
method_source (0.8) method_source (0.8)
mime-types (1.19) mime-types (1.19)
mongo (1.6.4) mongo (1.6.4)
...@@ -138,6 +144,7 @@ GEM ...@@ -138,6 +144,7 @@ GEM
hike (~> 1.2) hike (~> 1.2)
rack (~> 1.0) rack (~> 1.0)
tilt (~> 1.1, != 1.3.0) tilt (~> 1.1, != 1.3.0)
thor (0.16.0)
tilt (1.3.3) tilt (1.3.3)
tire (0.4.2) tire (0.4.2)
activemodel (>= 3.0) activemodel (>= 3.0)
...@@ -166,6 +173,8 @@ DEPENDENCIES ...@@ -166,6 +173,8 @@ DEPENDENCIES
delayed_job delayed_job
delayed_job_mongoid! delayed_job_mongoid!
faker faker
guard
guard-unicorn
kaminari! kaminari!
mongo mongo
mongoid (~> 3.0) mongoid (~> 3.0)
......
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
## Sample template for guard-unicorn
#
# Usage:
# guard :unicorn, <options hash>
#
# Possible options:
# * :daemonize (default is true) - should the Unicorn server start daemonized?
# * :config_file (default is "config/unicorn.rb") - the path to the unicorn file
# * :pid_file (default is "tmp/pids/unicorn.pid") - the path to the unicorn pid file
guard :unicorn, :daemonize => false, :port => 4567
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment