This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Airbrake.configure do |config| | |
# project specific | |
config.project_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | |
# use git SHA & current commit as app version | |
config.app_version = "Ruby: #{RUBY_VERSION} » Rails: #{Rails::VERSION::STRING} » " << `cd #{Rails.root} && git log -1 --pretty="%h - %B" HEAD` | |
# can always be 1 | |
config.project_id = 1 |