diff --git a/hyrax.gemspec b/hyrax.gemspec index 1a61830925..23dc7b80c0 100644 --- a/hyrax.gemspec +++ b/hyrax.gemspec @@ -16,7 +16,7 @@ SUMMARY spec.homepage = "http://github.com/samvera/hyrax" - spec.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR) + spec.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR).select { |f| File.dirname(f) !~ %r{\A"?spec\/?} } spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) } spec.name = "hyrax" spec.require_paths = ["lib"]