Avoid warning by not requiring 'rollbar/notifier' from 'item/locals' (#1005)
Avoid warning by not requiring 'rollbar/notifier' from 'item/locals' (#1005)

Ruby shows messages like: "warning: loading in progress, circular
require considered harmful" when using the gem.

The problem appears because of the following requiring call chain:

1. lib/rollbar.rb#L19: `require 'rollbar/notifier'`
2. lib/rollbar/notifier.rb#L10: `require 'rollbar/item'`
3. lib/rollbar/item.rb#L10: `require 'rollbar/item/backtrace'`
4. lib/rollbar/item/backtrace.rb#L1: `require 'rollbar/item/frame'`
5. lib/rollbar/item/frame.rb#L3: `require 'rollbar/item/locals'`
6. lib/rollbar/item/locals.rb#L1: `require 'rollbar/notifier'`

As you can see, the circular dependency is happening between notifier
<> item/locals.

By removing `require 'rollbar/notifier'` the messages go away.

This fixes #946
rollbar/rollbar-gem,rollbar/rollbar-gem,rollbar/rollbar-gem