Skip to content

Instantly share code, notes, and snippets.

View ansonhoyt's full-sized avatar

Anson Hoyt ansonhoyt

  • 12:39 (UTC -04:00)
View GitHub Profile
# ...
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
# TODO: remove once gems no longer need it. See required file for details.
# Patches Rails before initializing Gems. Also covers rake tasks that don't depend on :environment.
if Rails.gem_version >= Gem::Version.new('6.1') # Forward-port methods removed in 6.1
require_relative "../lib/extensions/core_ext/module/introspection"