From ea9d30277714181f1f8827f4104724322c3dbe0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yuri=20Toma=CC=81nek?= Date: Mon, 28 Oct 2013 14:35:12 +1030 Subject: [PATCH] Fixed uninitialized constant Capistrano::VERSION (NameError) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yuri Tománek --- lib/sidekiq/capistrano.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq/capistrano.rb b/lib/sidekiq/capistrano.rb index f926e50a..2f16b8c1 100644 --- a/lib/sidekiq/capistrano.rb +++ b/lib/sidekiq/capistrano.rb @@ -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'