fix syntax error in overriding Gem.source_index