module ActiveSupport::XmlMini_REXML

def require_rexml

def require_rexml
  silence_warnings { require "rexml/document" }
rescue LoadError => e
  $stderr.puts "You don't have rexml installed in your application. Please add it to your Gemfile and run bundle install"
  raise e
end