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/puma.rb', line 1

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