justinweiss/error_stalker — pull request #1 by chingor13 (2012-04-30 18:03:35+00:00)
Title: Fix crash for Rails 3 if gem is loaded before Rails is initialized

don't crash if error_stalker is loaded before Rails is initialized (Rails 3 default)

By default in Rails 3, Bundler.require is called before the app is initialized. "Rails" is defined, but "Rails.root" is nil. This gem crashes if Rails is defined, but Rails.root is nil.