Class: GemSorter::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- GemSorter::Railtie
- Defined in:
- lib/gem_sorter/railtie.rb
Overview
Registers the gem’s rake tasks through the Rails task-loading pipeline. Using a Railtie ensures the tasks are available reliably inside a Rails application (under both ‘bin/rails` and `bin/rake`) without defining tasks during `Bundler.require`, which is order-dependent and could break boot.