```ruby
if RUBY_ENGINE == 'ruby'
  if ENV['CI']
    require 'coveralls'
    Coveralls::Output.silent = true
    Coveralls.wear! do
      add_filter 'spec/'
    end
  else
    require 'simplecov'
    SimpleCov.start
  end
end

require 'premailer/rails'

require 'support/stubs/action_mailer'
require 'support/stubs/rails'
require 'support/fixtures/message'
require 'support/fixtures/html'

require 'hpricot' unless RUBY_PLATFORM == 'java'
require 'nokogiri'
```

Add temporary fix for rails bug
user
```ruby
if RUBY_ENGINE == 'ruby'
  if ENV['CI']
    require 'coveralls'
    Coveralls::Output.silent = true
    Coveralls.wear! do
      add_filter 'spec/'
    end
  else
    require 'simplecov'
    SimpleCov.start
  end
end

# Temporary fix for missing require. See
# https://github.com/rails/rails/pull/28835
require 'active_support/rescuable'

require 'premailer/rails'

require 'support/stubs/action_mailer'
require 'support/stubs/rails'
require 'support/fixtures/message'
require 'support/fixtures/html'

require 'hpricot' unless RUBY_PLATFORM == 'java'
require 'nokogiri'
```
assistant