[前][次][番号順一覧][スレッド一覧]

ruby-changes:52670

From: nobu <ko1@a...>
Date: Sat, 29 Sep 2018 16:04:34 +0900 (JST)
Subject: [ruby-changes:52670] nobu:r64882 (trunk): Expand gemspec path to the real path

nobu	2018-09-29 16:04:29 +0900 (Sat, 29 Sep 2018)

  New Revision: 64882

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64882

  Log:
    Expand gemspec path to the real path
    
    `make install` has loaded forwardable.rb twice, from
    forwardable.gemspec and prime.gemspec.

  Modified files:
    trunk/tool/rbinstall.rb
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 64881)
+++ tool/rbinstall.rb	(revision 64882)
@@ -726,6 +726,7 @@ install?(:ext, :arch, :gem, :'default-ge https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L726
 end
 
 def load_gemspec(file)
+  file = File.realpath(file)
   code = File.read(file, encoding: "utf-8:-")
   code.gsub!(/`git.*?`/m, '""')
   begin

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]