We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IO::NULL
1 parent aeb775e commit 5ae4433Copy full SHA for 5ae4433
weakref.gemspec
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
# Specify which files should be added to the gem when it is released.
25
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
27
- `git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ `git ls-files -z 2>#{IO::NULL}`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
28
end
29
spec.bindir = "exe"
30
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
0 commit comments