add unicorn file
This commit is contained in:
parent
e6ff40548a
commit
e6f3b20862
1
Gemfile
1
Gemfile
|
@ -28,6 +28,7 @@ gem 'rqrcode-with-patches', require: 'rqrcode'
|
|||
gem 'chunky_png'
|
||||
gem 'sidekiq'
|
||||
gem 'rest-client'
|
||||
gem 'unicorn'
|
||||
|
||||
group :development do
|
||||
gem 'spring'
|
||||
|
|
|
@ -55,7 +55,7 @@ end
|
|||
namespace :unicorn do
|
||||
set :unicorn_pid, "#{app_path}/tmp/pids/unicorn_wblog.pid"
|
||||
set :start_unicorn, %{
|
||||
cd #{app_path} && unicorn -c config/unicorn/#{rails_env}.rb -E #{rails_env} -D
|
||||
cd #{app_path} && bundle exec unicorn -c config/unicorn/#{rails_env}.rb -E #{rails_env} -D
|
||||
}
|
||||
|
||||
# Start task
|
||||
|
|
Loading…
Reference in New Issue