Errnow client library for Ruby.
Add this line to your application's Gemfile:
gem 'errnow', git: 'https://github.com/tachibanakikaku/errnow-lib-ruby.git'
And then execute:
$ bundle
# config/initializers/errnow.rb
# TODO: create initializer with `rake`.
Errnow.configure do |config|
config.url = 'url-to-request-error-page'
config.app_id = 'my-app-id'
config.access_key = 'my-access-key'
config.secret_access_key = 'my-secret-access-key'
config.debug = false
end
class ApplicationController < ActionController::Base
...
include Errnow # add this line
end
- Fork it ( https://github.com/[my-github-username]/errnow/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request