2010-06-21 13:02:04 -04:00
|
|
|
ORIG_ARGV = ARGV.dup
|
|
|
|
|
2010-03-17 03:53:48 -04:00
|
|
|
begin
|
|
|
|
old, $VERBOSE = $VERBOSE, nil
|
|
|
|
require File.expand_path('../../../load_paths', __FILE__)
|
|
|
|
ensure
|
|
|
|
$VERBOSE = old
|
|
|
|
end
|
2009-11-09 23:56:49 -05:00
|
|
|
|
2010-08-22 17:43:31 -04:00
|
|
|
require 'active_support/core_ext/kernel/reporting'
|
2010-08-22 01:23:13 -04:00
|
|
|
require 'active_support/core_ext/string/encoding'
|
2011-12-20 12:22:21 -05:00
|
|
|
|
|
|
|
silence_warnings do
|
|
|
|
Encoding.default_internal = "UTF-8"
|
|
|
|
Encoding.default_external = "UTF-8"
|
2010-08-22 01:23:13 -04:00
|
|
|
end
|
|
|
|
|
2012-12-28 14:17:37 -05:00
|
|
|
require 'active_support/testing/autorun'
|
2010-03-30 19:53:44 -04:00
|
|
|
require 'empty_bool'
|
2010-03-17 03:53:48 -04:00
|
|
|
|
2009-03-26 22:10:13 -04:00
|
|
|
ENV['NO_RELOAD'] = '1'
|
2006-07-08 14:14:49 -04:00
|
|
|
require 'active_support'
|
2006-09-03 23:38:13 -04:00
|
|
|
|
2013-01-24 05:10:58 -05:00
|
|
|
Thread.abort_on_exception = true
|
|
|
|
|
2008-11-20 15:08:42 -05:00
|
|
|
# Show backtraces for deprecated behavior for quicker cleanup.
|
2012-01-06 18:18:12 -05:00
|
|
|
ActiveSupport::Deprecation.debug = true
|