```ruby
require 'bundler/setup'

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new [
    SimpleCov::Formatter::HTMLFormatter,
    Coveralls::SimpleCov::Formatter
]

SimpleCov.start

require 'active_support'
require 'active_support/deprecation'
require 'active_support/dependencies/autoload'

Bundler.require(:default, :development)

JRUBY = defined?(JRUBY_VERSION)
DEBUG = ENV['DEBUG']

RSpec.configure do |config|
  config.order = "random"
end
```

Work around Active Support load order bug
user
```ruby
require 'bundler/setup'

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new [
    SimpleCov::Formatter::HTMLFormatter,
    Coveralls::SimpleCov::Formatter
]

SimpleCov.start

require 'active_support'
# https://github.com/rails/rails/issues/28918
require "active_support/core_ext/module/remove_method"
require 'active_support/deprecation'
require 'active_support/dependencies/autoload'

Bundler.require(:default, :development)

JRUBY = defined?(JRUBY_VERSION)
DEBUG = ENV['DEBUG']

RSpec.configure do |config|
  config.order = "random"
end
```
assistant