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:
commit
60ff419151
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue