Refactoring Exec['rbenv rehash'].