Permalink
Browse files

add sidekiq to capistrano setup

  • Loading branch information...
birarda committed Sep 19, 2016
1 parent ce343f3 commit 615659c3205580667208c997007633621be94592
Showing with 9 additions and 0 deletions.
  1. +2 −0 Capfile
  2. +1 −0 Gemfile
  3. +4 −0 Gemfile.lock
  4. +2 −0 config/deploy.rb
View
@@ -38,5 +38,7 @@ require 'whenever/capistrano'
require 'capistrano/sitemap_generator'
require 'capistrano/sidekiq'
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
View
@@ -113,6 +113,7 @@ group :development do
gem 'capistrano3-puma'
gem 'dogapi', '>= 1.3.0'
gem 'capistrano-file-permissions'
gem 'capistrano-sidekiq'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
View
@@ -83,6 +83,9 @@ GEM
capistrano-rbenv (2.0.4)
capistrano (~> 3.1)
sshkit (~> 1.3)
capistrano-sidekiq (0.5.4)
capistrano
sidekiq (>= 3.4)
capistrano3-puma (1.2.1)
capistrano (~> 3.0)
puma (>= 2.6)
@@ -343,6 +346,7 @@ DEPENDENCIES
capistrano-file-permissions
capistrano-rails (~> 1.1)
capistrano-rbenv (~> 2.0)
capistrano-sidekiq
capistrano3-puma
config
dalli
View
@@ -42,6 +42,8 @@
set :file_permissions_chmod_mode, "0700"
set :file_permissions_paths, ["lib/cron/db_backup.sh"]
set :sidekiq_queue, 'greatpass_production_mailers'
namespace :deploy do
# after :restart, :clear_cache do

0 comments on commit 615659c

Please sign in to comment.