Remove unneeded check in install_gems