How I can disable the rollbar gem from reporting errors in my development environment? I want to get errors only from staging and production, but I didn't find it in docs on Rollbar's site.
Put this code into initializers/rollbar.rb:
Rollbar.configure do |config|
# ...
unless Rails.env.production?
config.enabled = false
end
# ...
end