diff options
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-x | tool/rbinstall.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 2584ac1e91..a3361e69a4 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -726,6 +726,7 @@ install?(:ext, :arch, :gem, :'default-gems', :'default-gems-arch') do end def load_gemspec(file) + file = File.realpath(file) code = File.read(file, encoding: "utf-8:-") code.gsub!(/`git.*?`/m, '""') begin |