mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Actually this file may be invoked directly as well with --dev.
This commit is contained in:
parent
594b749f3c
commit
76cebf2e53
2 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,6 @@ else
|
|||
end
|
||||
|
||||
require 'rubygems' if ARGV.include?("--dev")
|
||||
|
||||
require 'rails/generators'
|
||||
require 'rails/generators/rails/app/app_generator'
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue