mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Make sure the Thor generator LoadError does not output --dev twice [#6431 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
committed by
Santiago Pastorino
parent
f3e9cbc695
commit
86ad8a6c87
@@ -3,7 +3,7 @@ begin
|
||||
rescue LoadError
|
||||
puts "Thor is not available.\nIf you ran this command from a git checkout " \
|
||||
"of Rails, please make sure thor is installed,\nand run this command " \
|
||||
"as `ruby #{$0} #{ARGV.join(" ")} --dev`"
|
||||
"as `ruby #{$0} #{(ARGV | ['--dev']).join(" ")}`"
|
||||
exit
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user