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.
git ls-files ...
1 parent 2ed1962 commit e776efdCopy full SHA for e776efd
tool/rbinstall.rb
@@ -783,7 +783,7 @@ def load_gemspec(file, base = nil)
783
next if File.directory?(File.join(base, n))
784
files << n.dump
785
end if base
786
- code.gsub!(/(?:`git[^\`]*`|%x\[git[^\]]*\])\.split\([^\)]*\)/m) do
+ code.gsub!(/(?:`git[^\`]*`|%x\[git[^\]]*\])\.split(\([^\)]*\))?/m) do
787
"[" + files.join(", ") + "]"
788
end
789
code.gsub!(/IO\.popen\(.*git.*?\)/) do
0 commit comments