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

ruby-changes:38153

From: hsbt <ko1@a...>
Date: Sat, 11 Apr 2015 23:27:00 +0900 (JST)
Subject: [ruby-changes:38153] hsbt:r50234 (trunk): * tool/rbinstall.rb: support destdir for native extention gem.

hsbt	2015-04-11 23:26:44 +0900 (Sat, 11 Apr 2015)

  New Revision: 50234

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

  Log:
    * tool/rbinstall.rb: support destdir for native extention gem.

  Modified files:
    trunk/ChangeLog
    trunk/tool/rbinstall.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50233)
+++ ChangeLog	(revision 50234)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Apr 11 23:26:05 2015  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* tool/rbinstall.rb: support destdir for native extention gem.
+
 Sat Apr 11 21:02:06 2015  NAKAMURA Usaku  <usa@r...>
 
 	* test/ruby/test_file_exhaustive.rb
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 50233)
+++ tool/rbinstall.rb	(revision 50234)
@@ -775,6 +775,7 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L775
   end
   next if gems.empty?
   if defined?(Zlib)
+    ENV['DESTDIR'] = $destdir if $destdir
     gems.each do |gem|
       Gem.install(gem, Gem::Requirement.default, options)
       gemname = File.basename(gem)

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

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