Skip to content

Instantly share code, notes, and snippets.

@gshutler
Created August 18, 2014 10:06
Show Gist options
  • Save gshutler/0b92516008cbadeee675 to your computer and use it in GitHub Desktop.
Save gshutler/0b92516008cbadeee675 to your computer and use it in GitHub Desktop.
config.hatchet.configure do |hatchet|
require 'rbconfig'
hatchet.backtrace_filters Bundler.bundle_path.to_s => '[BUNDLER]',
Bundler.bin_path.to_s => '[BUNDLER]',
Rails.root.to_s => '[RAILS_ROOT]',
RbConfig::CONFIG['sitelibdir'] => '[SITELIBDIR]',
RbConfig::CONFIG['rubylibdir'] => '[RUBYLIBDIR]',
RbConfig::CONFIG['libdir'] => '[LIBDIR]',
RbConfig::CONFIG['sitedir'] => '[SITEDIR]'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment