diff --git a/lib/capistrano/send/libnotify.rb b/lib/capistrano/send/libnotify.rb index b4ebc1e..5060662 100644 --- a/lib/capistrano/send/libnotify.rb +++ b/lib/capistrano/send/libnotify.rb @@ -7,7 +7,7 @@ module Capistrano module Send module Libnotify def self.supported? - defined?(Libnotify) && Libnotify::API.instance_methods.include?(:notify_init) + defined?(::Libnotify) && ::Libnotify::API.instance_methods.include?(:notify_init) end end end