From 9823994b4f8103cfdf2ad8c4c4bf738f42900fc1 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Mon, 3 Feb 2020 16:37:14 -0500 Subject: [PATCH 1/2] Fix ENGINE_PATH to point to the correct engine file --- bin/rails | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rails b/bin/rails index b11276a2a57..f18e56bb0c3 100755 --- a/bin/rails +++ b/bin/rails @@ -3,7 +3,7 @@ # installed from the root of your application. ENGINE_ROOT = File.expand_path('../..', __FILE__) -ENGINE_PATH = File.expand_path('../../lib/manageiq/ui/engine', __FILE__) +ENGINE_PATH = File.expand_path('../../lib/manageiq/ui/classic/engine', __FILE__) # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) From c4699624b473a8ef77c0bc9c32c6cab95aff0a80 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Mon, 3 Feb 2020 16:39:17 -0500 Subject: [PATCH 2/2] Add APP_PATH to allow using Rails directly --- bin/rails | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/rails b/bin/rails index f18e56bb0c3..9a67f11f28d 100755 --- a/bin/rails +++ b/bin/rails @@ -4,6 +4,7 @@ ENGINE_ROOT = File.expand_path('../..', __FILE__) ENGINE_PATH = File.expand_path('../../lib/manageiq/ui/classic/engine', __FILE__) +APP_PATH = File.expand_path("../../spec/manageiq/config/application", __FILE__) # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)