Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
MIT License
6
stars
1
forks
source link
Edit Rollbar Gem To Enable Tracking on rollbar.com #687
This change enables app errors to be sent to rollbar.com. This is achieved by editing the gem 'rollbar' config within Gemfile.
Remove group: :rollbarconfig/initializers/rollbar.rb includes the following line:
config.enabled = false if Rails.env.test?
Thus, simply having the gem as part of the :default group should be okay.
Remove required: :falserake rollbar:test can be executed to send a test message to rollbar.com. However, this rake task doesn't work when require: false is part of the gem 'rollbar' config.
Fixes #686
686
Changes proposed in this PR:
gem 'rollbar'
config withinGemfile
.Remove
group: :rollbar
config/initializers/rollbar.rb
includes the following line:Thus, simply having the gem as part of the
:default
group should be okay.Remove
required: :false
rake rollbar:test
can be executed to send a test message to rollbar.com. However, this rake task doesn't work whenrequire: false
is part of the gem 'rollbar' config.