diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/commands/plugin.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb index 48f226640c..c5ee3e2896 100644 --- a/railties/lib/commands/plugin.rb +++ b/railties/lib/commands/plugin.rb @@ -914,4 +914,5 @@ class RecursiveHTTPFetcher end end +RAILS_ROOT = RailsEnvironment.default.root unless Object.const_defined?(:RAILS_ROOT) Commands::Plugin.parse! |