1
0
Fork 0
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:
Yuri Tománek 2013-10-28 14:35:12 +10:30
parent bf18fbdcf5
commit ea9d302777

View file

@ -1,4 +1,4 @@
if defined?(Capistrano::Version) && 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'