Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Actually this file may be invoked directly as well with --dev.

  • Loading branch information...
commit 76cebf2e5364fd929f60379be636f525c6473dcc 1 parent 594b749
@josevalim josevalim authored
View
1  railties/lib/rails/commands/application.rb
@@ -12,7 +12,6 @@
end
require 'rubygems' if ARGV.include?("--dev")
-
require 'rails/generators'
require 'rails/generators/rails/app/app_generator'
View
3  railties/lib/rails/commands/plugin_new.rb
@@ -1,8 +1,11 @@
+require 'rubygems' if ARGV.include?("--dev")
+
if ARGV.first != "new"
ARGV[0] = "--help"
else
ARGV.shift
end
+require 'rails/generators'
require 'rails/generators/rails/plugin_new/plugin_new_generator'
Rails::Generators::PluginNewGenerator.start
Please sign in to comment.
Something went wrong with that request. Please try again.