mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add slim version check, fixes #889
This commit is contained in:
parent
eaf4b14e43
commit
af649c28d5
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ require 'yaml'
|
|||
require 'sinatra/base'
|
||||
require 'slim'
|
||||
|
||||
raise "The Sidekiq Web UI requires slim 1.3 or greater. You have slim v#{Slim::VERSION}" if Slim::VERSION < '1.3.0'
|
||||
|
||||
require 'sidekiq'
|
||||
require 'sidekiq/api'
|
||||
require 'sidekiq/paginator'
|
||||
|
|
Loading…
Reference in a new issue