Created
June 12, 2015 09:05
-
-
Save be9/763bc28c2496ac4221f7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
2.2.0 |
This file contains hidden or 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
# A sample Gemfile | |
source "https://rubygems.org" | |
gem 'rollbar' |
This file contains hidden or 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
GEM | |
remote: https://rubygems.org/ | |
specs: | |
multi_json (1.11.0) | |
rollbar (1.5.3) | |
multi_json (~> 1.3) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
rollbar |
This file contains hidden or 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
require 'rubygems' | |
require 'bundler/setup' | |
require 'rollbar' | |
Rollbar.configure do |config| | |
config.access_token = '20eb68f667eb456598aa457a4ea9ffd3' | |
end | |
begin | |
puts "do something" | |
#raise "test" | |
raise NotImplementedError | |
rescue => e | |
Rollbar.critical(e) | |
end | |
puts "done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment