aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin
diff options
context:
space:
mode:
Diffstat (limited to 'railties/bin')
-rwxr-xr-xrailties/bin/rails2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/bin/rails b/railties/bin/rails
index cd173e51b6..7d79faff4a 100755
--- a/railties/bin/rails
+++ b/railties/bin/rails
@@ -7,5 +7,7 @@ if %w(--version -v).include? ARGV.first
exit(0)
end
+ARGV << "--help" if ARGV.empty?
+
require File.dirname(__FILE__) + '/../lib/generator/generators/app'
Rails::Generators::App.start