Top Level Namespace

Defined Under Namespace

Modules: Capistrano

Instance Method Summary collapse

Instance Method Details

#try_require(library) ⇒ Object



1
2
3
4
5
6
7
# 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