1
0
Fork 0
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:
Mike Perham 2013-05-16 08:27:10 -07:00
parent eaf4b14e43
commit af649c28d5

View file

@ -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'