Fix uninstalling gems with executables.

`gem uninstall` would hang waiting on interactive confirmation.