Sha256: 867ecfe9709f4f2a6199f68e90814260c3fc264e92209ed01abe35a000db1768

Contents?: true

Size: 302 Bytes

Versions: 9

Compression:

Stored size: 302 Bytes

Contents

def try_require(library)
  begin
    require "#{library}"
  rescue LoadError => e
    puts "Capistrano-Delayed Job: Cannot load library: #{library} Error: #{e}"
  end
end

try_require 'capistrano/delayed_job/config'
try_require 'capistrano/delayed_job/runit'
try_require 'capistrano/delayed_job/monit'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
capistrano-delayed_job-0.0.10 lib/capistrano/delayed_job.rb
capistrano-delayed_job-0.0.9 lib/capistrano/delayed_job.rb
capistrano-delayed_job-0.0.8 lib/capistrano/delayed_job.rb
capistrano-delayed_job-0.0.7 lib/capistrano/delayed_job.rb
capistrano-delayed_job-0.0.6 lib/capistrano/delayed_job.rb
capistrano-delayed_job-0.0.5 lib/capistrano/delayed_job.rb
capistrano-delayed_job-0.0.4 lib/capistrano/delayed_job.rb
capistrano-delayed_job-0.0.3 lib/capistrano/delayed_job.rb
capistrano-delayed_job-0.0.2 lib/capistrano/delayed_job.rb