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

Fix Capistrano::Version name error.

This commit is contained in:
Juan Ibiapina 2013-10-28 13:21:33 -02:00
parent 3f70bfbc80
commit 33ebbf0644

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'