class Object

Public Instance Methods

try_require(library) click to toggle source
# File lib/capistrano/delayed_job.rb, line 1
def try_require(library)
  begin
    require "#{library}"
  rescue LoadError => e
    puts "Capistrano-DelayedJob: Cannot load library: #{library} Error: #{e}"
  end
end