aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin
diff options
context:
space:
mode:
Diffstat (limited to 'railties/bin')
-rwxr-xr-xrailties/bin/gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/bin/gen b/railties/bin/gen
index 8dc6ba3cb0..036b1d8275 100755
--- a/railties/bin/gen
+++ b/railties/bin/gen
@@ -23,7 +23,7 @@ if ARGV.size == 0
puts "Please select a generator."
puts "Builtin: #{rails.join(', ')}."
- puts "Others: #{others.join(', ')}."
+ puts "Others: #{others.join(', ')}." unless others.empty?
exit
elsif ARGV.size == 1