Add native extension to gemspec

This commit is contained in:
Sami Samhuri 2022-01-16 21:56:15 -08:00
parent c1b3e3451e
commit cac7da8d10
No known key found for this signature in database
GPG key ID: 4B4195422742FC16

View file

@ -24,5 +24,6 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob(glob).reject { |f| File.directory?(f) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.extensions = %w[ext/wordexp_ext/extconf.rb]
spec.require_paths = %w[ext lib]
end