Updating Gemspec file to not use `git ls-files`

Patch for issue #420, can be safely applied to branches master, 4-0-stable, 3-2-stable, and 3-1-stable