Sha256: 28b9bdf357f85d55378a9932c4029c86ae36eb720307630a278c0ef3342e0c2b

Contents?: true

Size: 741 Bytes

Versions: 1

Compression:

Stored size: 741 Bytes

Contents

def load_will_paginate
  begin 
    require 'will_paginate'
  rescue LoadError => e
    $stderr.puts %{
      ************************************************
      * gem will_paginate is missing                 *
      * plugin exception2db depends on will_paginate *
      * Please install will_paginate by executing    *
      * sudo gem install will_paginate               *
      ************************************************
    }
  end
end

load_will_paginate

require File.join(RAILS_ROOT, 'vendor', 'plugins', 'exception2db', 'lib', 'exception2db', 'config.rb')
Exception2dbConfig.initialize_defaults

require File.join(RAILS_ROOT, 'vendor', 'plugins', 'exception2db', 'lib', 'exception2db', 'util.rb')

require 'rexml/document'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exception2db-0.0.1 init.rb