Add and install delayed_job_web gem

This commit is contained in:
Mathieu Magnin 2017-09-26 12:04:05 +02:00 committed by Simon Lehericey
parent 68506fe2c7
commit b9869d861f
3 changed files with 7 additions and 0 deletions

View file

@ -105,6 +105,7 @@ gem 'sinatra', git: 'https://github.com/sinatra/sinatra.git', require: false
gem 'delayed_job_active_record'
gem "daemons"
gem 'delayed_cron_job'
gem "delayed_job_web"
gem 'select2-rails'

View file

@ -138,6 +138,10 @@ GEM
delayed_job_active_record (4.1.2)
activerecord (>= 3.0, < 5.2)
delayed_job (>= 3.0, < 5)
delayed_job_web (1.4)
activerecord (> 3.0.0)
delayed_job (> 2.0.3)
sinatra (>= 1.4.4)
devise (4.2.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
@ -707,6 +711,7 @@ DEPENDENCIES
deep_cloneable (~> 2.2.1)
delayed_cron_job
delayed_job_active_record
delayed_job_web
devise
dotenv-rails
draper (~> 3.0.0.pre1)

View file

@ -50,6 +50,7 @@ Rails.application.routes.draw do
require 'sidekiq/web'
require 'sidekiq/cron/web'
mount Sidekiq::Web => '/sidekiq'
match "/delayed_job" => DelayedJobWeb, :anchor => false, :via => [:get, :post]
end
end