modified gem controller to parse new format for gem.list file correctly
(it now takes the first field from each line as the gem name and ignores
any extra fields that may appear in the gem.list file after that gem name)