lib/airbrake.rb in airbrake-3.1.7 vs lib/airbrake.rb in airbrake-3.1.8
- old
+ new
@@ -4,10 +4,18 @@
end
require 'net/http'
require 'net/https'
require 'rubygems'
-require 'active_support/core_ext/object/blank'
+
+begin
+ require 'active_support/core_ext/object/blank'
+rescue
+ require 'activesupport'
+ require 'activesupport/core_ext'
+end
+
+
require 'airbrake/version'
require 'airbrake/configuration'
require 'airbrake/notice'
require 'airbrake/sender'
require 'airbrake/backtrace'