diff options
-rw-r--r-- | railties/lib/rails/commands/application.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/application.rb b/railties/lib/rails/commands/application.rb index 0f09e7eafb..fe2f89ee98 100644 --- a/railties/lib/rails/commands/application.rb +++ b/railties/lib/rails/commands/application.rb @@ -4,7 +4,8 @@ if %w(--version -v).include? ARGV.first exit(0) end -ARGV << "--help" if ARGV.empty? +ARGV << "--help" if ARGV.empty? +require 'rubygems' if ARGV.include?("--dev") require 'rails/generators' require 'generators/rails/app/app_generator' |