aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/plugin/plugin_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/commands/plugin/plugin_command.rb')
-rw-r--r--railties/lib/rails/commands/plugin/plugin_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/commands/plugin/plugin_command.rb b/railties/lib/rails/commands/plugin/plugin_command.rb
index b40ab006af..e915a24e5b 100644
--- a/railties/lib/rails/commands/plugin/plugin_command.rb
+++ b/railties/lib/rails/commands/plugin/plugin_command.rb
@@ -34,8 +34,8 @@ module Rails
private
def run_plugin_generator(plugin_args)
- require "rails/generators"
- require "rails/generators/rails/plugin/plugin_generator"
+ require_relative "../../generators"
+ require_relative "../../generators/rails/plugin/plugin_generator"
Rails::Generators::PluginGenerator.start plugin_args
end
end