1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #46064 from k0kubun/system-exception-true

Improve error messages on bin/setup
This commit is contained in:
Eileen M. Uchitelle 2022-09-19 09:16:05 -04:00 committed by GitHub
commit 83f32f62fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ require "fileutils"
APP_ROOT = File.expand_path("..", __dir__)
def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")
system(*args, exception: true)
end
FileUtils.chdir APP_ROOT do