diff options
-rw-r--r-- | railties/lib/rails/commands.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/commands.rb b/railties/lib/rails/commands.rb index f015b33e18..02ccdf8060 100644 --- a/railties/lib/rails/commands.rb +++ b/railties/lib/rails/commands.rb @@ -62,7 +62,7 @@ when 'application', 'runner' when 'new' puts "Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.\n" puts "Type 'rails' for help." - exit(false) + exit(1) when '--version', '-v' ARGV.unshift '--version' @@ -92,5 +92,5 @@ In addition to those, there are: All commands can be run with -h for more information. EOT - exit(false) + exit(1) end |