1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Merge pull request #931 from nirvdrum/patch-2

Compare gem versions by their version number, not a lexicographic sort o...
This commit is contained in:
Mike Perham 2013-05-19 17:09:06 -07:00
commit 60ff419151

View file

@ -2,7 +2,7 @@ require 'yaml'
require 'sinatra/base'
require 'slim'
raise "The Sidekiq Web UI requires slim 1.3.8 or greater. You have slim v#{Slim::VERSION}" if Slim::VERSION < '1.3.8'
raise "The Sidekiq Web UI requires slim 1.3.8 or greater. You have slim v#{Slim::VERSION}" if Gem::Version.new(Slim::VERSION) < Gem::Version.new('1.3.8')
require 'sidekiq'
require 'sidekiq/api'