Fix "no implicit conversion of Array into String" error when installing gem.