Skip to content

Instantly share code, notes, and snippets.

@chrisarcand
Created February 13, 2014 22:54
Show Gist options
  • Save chrisarcand/8985638 to your computer and use it in GitHub Desktop.
Save chrisarcand/8985638 to your computer and use it in GitHub Desktop.
Using Git in Your Gemspec, example 2
# Part of Bundler's gemspec
spec.files = `git ls-files -z`.split("\x0")
spec.files += Dir.glob('lib/bundler/man/**/*') # man/ is ignored by git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment