diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-25 23:32:08 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-25 23:32:08 +0000 |
commit | 0a5b8328b92f9a9cbb7e59d2a8c89cf22435b1f4 (patch) | |
tree | 2ae5fcd8bdba975df647fc90134b4e489118981c /railties | |
parent | 3cec029685cdbfa820eb6b4a98daf81ed80e1d27 (diff) | |
download | rails-0a5b8328b92f9a9cbb7e59d2a8c89cf22435b1f4.tar.gz rails-0a5b8328b92f9a9cbb7e59d2a8c89cf22435b1f4.tar.bz2 rails-0a5b8328b92f9a9cbb7e59d2a8c89cf22435b1f4.zip |
The Ruby path should be a string (closes #4361) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index 2a71c35599..1211b512d7 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -93,7 +93,7 @@ class AppGenerator < Rails::Generator::Base def add_options!(opt) opt.separator '' opt.separator 'Options:' - opt.on("-r", "--ruby", + opt.on("-r", "--ruby", String, "Path to the Ruby binary of your choice.", "Default: #{DEFAULT_SHEBANG}") { |options[:shebang]| } |