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

ruby-changes:44037

From: nobu <ko1@a...>
Date: Thu, 8 Sep 2016 17:40:22 +0900 (JST)
Subject: [ruby-changes:44037] nobu:r56110 (trunk): rbinstall.rb: gem bindir

nobu	2016-09-08 17:40:16 +0900 (Thu, 08 Sep 2016)

  New Revision: 56110

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

  Log:
    rbinstall.rb: gem bindir
    
    * tool/rbinstall.rb (gem): use the bindir of each gemspec instead
      of hardcoded 'bin', since rdoc 5.0.0 overrides it.

  Modified files:
    trunk/ChangeLog
    trunk/tool/rbinstall.rb
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 56109)
+++ tool/rbinstall.rb	(revision 56110)
@@ -727,7 +727,7 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L727
     end
 
     unless gemspec.executables.empty? then
-      bin_dir = File.join(gem_dir, 'gems', full_name, 'bin')
+      bin_dir = File.join(gem_dir, 'gems', full_name, gemspec.bindir)
       makedirs(bin_dir)
 
       execs = gemspec.executables.map {|exec| File.join(srcdir, 'bin', exec)}
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56109)
+++ ChangeLog	(revision 56110)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Sep  8 17:40:15 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* tool/rbinstall.rb (gem): use the bindir of each gemspec instead
+	  of hardcoded 'bin', since rdoc 5.0.0 overrides it.
+
 Thu Sep  8 16:47:03 2016  Shugo Maeda  <shugo@r...>
 
 	* eval.c (rb_mod_s_used_modules): rename Module.used_refinements to

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

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