aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-01-21 08:11:58 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-01-31 09:49:48 +0900
commit3ffa5a15cc966c80029043c77adb3184422e33b3 (patch)
tree284537e141bd69f8143aa953ec43682e4593573a /railties/lib/rails/tasks
parenta00c36feea6c0271b5ad48a949ef294514fdef52 (diff)
downloadrails-3ffa5a15cc966c80029043c77adb3184422e33b3.tar.gz
rails-3ffa5a15cc966c80029043c77adb3184422e33b3.tar.bz2
rails-3ffa5a15cc966c80029043c77adb3184422e33b3.zip
make rake proxy work in rails engines
Diffstat (limited to 'railties/lib/rails/tasks')
-rw-r--r--railties/lib/rails/tasks/engine.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/tasks/engine.rake b/railties/lib/rails/tasks/engine.rake
index c51524f8f6..e678103f63 100644
--- a/railties/lib/rails/tasks/engine.rake
+++ b/railties/lib/rails/tasks/engine.rake
@@ -4,8 +4,8 @@ task "load_app" do
end
task :environment => "app:environment"
- if !defined?(ENGINE_PATH) || !ENGINE_PATH
- ENGINE_PATH = find_engine_path(APP_RAKEFILE)
+ if !defined?(ENGINE_ROOT) || !ENGINE_ROOT
+ ENGINE_ROOT = find_engine_path(APP_RAKEFILE)
end
end