Skip to content

Commit 83f32f6

Browse files
authored
Merge pull request rails#46064 from k0kubun/system-exception-true
Improve error messages on bin/setup
2 parents 6b246e9 + 24fbbe0 commit 83f32f6

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/bin

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/bin/setup.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require "fileutils"
44
APP_ROOT = File.expand_path("..", __dir__)
55

66
def system!(*args)
7-
system(*args) || abort("\n== Command #{args} failed ==")
7+
system(*args, exception: true)
88
end
99

1010
FileUtils.chdir APP_ROOT do

0 commit comments

Comments
 (0)