Module: Rails::Command::Karst::Boot
- Included in:
- McpCommand, VerifyCommand
- Defined in:
- lib/rails/commands/karst/boot.rb
Overview
Shared by every Karst Rails::Command: boots the host application the
same way Rails' own commands do (Rails::Command::Actions#boot_application!
on Rails >= 7.1, #require_application_and_environment! before that),
without depending on either method name existing across Karst's whole
supported Rails range. require_application! (from
Rails::Command::Actions, already included into Rails::Command::Base)
plus Rails.application.require_environment! is exactly what both of
those version-specific wrappers do internally.