Use gem module to install gems globally
Run ndenv rehash only when node packages are installed