aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/engine/commands.rb
blob: 05218640c6227e166f57ce76463a5bd5539fcdd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

unless defined?(APP_PATH)
  if File.exist?(File.expand_path("test/dummy/config/application.rb", ENGINE_ROOT))
    APP_PATH = File.expand_path("test/dummy/config/application", ENGINE_ROOT)
  end
end

require "rails/commands"