Top Level Namespace

Defined Under Namespace

Modules: Capistrano

Instance Method Summary collapse

Instance Method Details

#try_require(library) ⇒ Object



1
2
3
4
5
# File 'lib/capistrano/monit.rb', line 1

def try_require(library)
  require "#{library}"
  rescue LoadError => e
    puts "Capistrano / Base Helper: Cannot load library: #{library} Error: #{e}"
end