aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/initializers.rake
blob: f108517d1d478cb613d76c20adfecd45365b8f8b (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

require "rails/command"
require "active_support/deprecation"

task initializers: :environment do
  ActiveSupport::Deprecation.warn("Using `bin/rake initializers` is deprecated and will be removed in Rails 6.1. Use `bin/rails initializers` instead.\n")
  Rails::Command.invoke "initializers"
end