mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fixed uninitialized constant Capistrano::VERSION (NameError)
Signed-off-by: Yuri Tománek <yuri@tomanek.com.au>
This commit is contained in:
parent
d24f02c7a9
commit
bf18fbdcf5
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
if Gem::Version.new(Capistrano::VERSION).release >= Gem::Version.new('3.0.0')
|
||||
if defined?(Capistrano::Version) && Gem::Version.new(Capistrano::VERSION).release >= Gem::Version.new('3.0.0')
|
||||
load File.expand_path("../tasks/sidekiq.rake", __FILE__)
|
||||
else
|
||||
require_relative 'capistrano2'
|
||||
|
|
Loading…
Reference in a new issue