Fix graceful exit on-install for homebrew/rbenv