Modify to check `rbenv` exists