[packages/ruby] disable rubygems by default

glen glen at pld-linux.org
Fri Apr 5 14:22:52 CEST 2013


commit 4e930057e19b66fca84f4a448a47fec62f6da399
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Apr 5 15:18:12 2013 +0300

    disable rubygems by default
    
    thus "require rubygems.rb" is not added to intepreter init code
    
    currently in PLD we do not package gems, and loading require rubygems.rb
    makes rubygems required by main interpreter. most of protable (which i
    encoutered) the code does require rubyugems.rb themselves anyway.

 ruby.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/ruby.spec b/ruby.spec
index 542003c..b3c58a1 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -30,7 +30,7 @@ Name:		ruby
 Version:	%{basever}.%{patchlevel}
 # NOTE: do not decrease Release, when updating Version,
 # unless rdoc_ver, rubygems_ver *both* are increased as well
-Release:	3
+Release:	4
 Epoch:		1
 # Public Domain for example for: include/ruby/st.h, strftime.c, ...
 License:	(Ruby or BSD) and Public Domain
@@ -336,6 +336,7 @@ cd ..
 	--with-search-path="%{legacy_loadpaths}" \
 	--enable-shared \
 	--enable-pthread \
+	--disable-rubygems \
 	--disable-install-doc \
 	--with-ruby-version=minor
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/4e930057e19b66fca84f4a448a47fec62f6da399



More information about the pld-cvs-commit mailing list