When installing saop4r-ng from a vendor directory the gemspec file runs git and complains because the gem is not part of a git repository. s.files = `git ls-files lib bin`.split("\n")