aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generator
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/generator')
-rw-r--r--railties/lib/generator/generators/app.thor3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/generator/generators/app.thor b/railties/lib/generator/generators/app.thor
index a15344051b..503b7ca8fd 100644
--- a/railties/lib/generator/generators/app.thor
+++ b/railties/lib/generator/generators/app.thor
@@ -12,7 +12,7 @@ module Rails::Generators
argument :app_path, :type => :string
- class_option :ruby, :type => :string, :aliases => "-d", :default => DEFAULT_SHEBANG,
+ class_option :ruby, :type => :string, :aliases => "-r", :default => DEFAULT_SHEBANG,
:desc => "Path to the Ruby binary of your choice"
class_option :database, :type => :string, :aliases => "-d", :default => DEFAULT_DATABASE,
@@ -21,6 +21,7 @@ module Rails::Generators
class_option :with_dispatchers, :type => :boolean, :aliases => "-D", :default => false,
:desc => "Add CGI/FastCGI/mod_ruby dispatchers code"
+ # TODO Make use of this option
class_option :freeze, :type => :boolean, :aliases => "-f", :default => false,
:desc => "Freeze Rails in vendor/rails from the gems"