Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37422663
en ru br
ALT Linux repos
S:3.1.2-alt2.1
5.0: 1.8.7-alt7
4.1: 1.8.7-alt0.M41.5
4.0: 1.8.6-alt2.M40.2
3.0: 1.8.2-alt7

Group :: Development/Ruby
RPM: ruby

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ruby-1.9.2-alt-disable-rubygems.patch
Download


diff --git a/ruby.c b/ruby.c
index 541ef88..a47d7ce 100644
--- a/ruby.c
+++ b/ruby.c
@@ -111,6 +111,7 @@ cmdline_options_init(struct cmdline_options *opt)
     opt->src.enc.index = src_encoding_index;
     opt->ext.enc.index = -1;
     opt->intern.enc.index = -1;
+    opt->disable |= DISABLE_BIT(gems);
     return opt;
 }
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin