diff --git a/hyrax.gemspec b/hyrax.gemspec index f2953177cc..6ddeba4039 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"]