Closed missingcharacter closed 3 years ago
Thoughts on moving the fail
into the install_ruby
function, at the top?
@postmodern like this (see new commit) or turn it into an if
?
@missingcharacter yeah if
would be better since we're only doing one comparison.
Also, since we're in the install_ruby
function, we could also use error
and return 1
to abort back to bin/ruby-install where a generic error message would also be printed. You're call on whether to print one error message and immediately exit, or print two error messages.
@postmodern how about now?
Squash merged, even though GitHub Actions keeps failing shunit2 test suites only on macOS; still need to investigate that.
Trying to close https://github.com/postmodern/ruby-install/issues/398