added install_gem and gem_hash