I believe this sets PATH to Gem.default_bindir and then the existing PATH, unless the user specifies a PATH.