Bugs item #27383, was opened at 2009-11-01 23:13 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27383&group_id=126
Category: `gem install` command (extensions) Group: None Status: Open Resolution: None Priority: 3 Submitted By: Miguel Vazquez (mikisvaz) Assigned to: Nobody (None) Summary: gem install build options ignored Initial Comment: This command will not work, apparently the build parameters are never reaching the build process. gem install rsruby -- --with-R-dir=/usr/lib/R/ --with-R-include=/usr/include/R/ Making this change in /usr/bin/gem makes it work *** gem.original 2009-11-01 23:07:59.159157918 +0100 --- gem 2009-11-01 23:07:36.389157816 +0100 *************** *** 18,24 **** # We need to preserve the original ARGV to use for passing gem options # to source gems. If there is a -- in the line, strip all options after # it...its for the source building process. ! args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] begin Gem::GemRunner.new.run args --- 18,25 ---- # We need to preserve the original ARGV to use for passing gem options # to source gems. If there is a -- in the line, strip all options after # it...its for the source building process. ! #args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] ! args = ARGV begin Gem::GemRunner.new.run args ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=575&aid=27383&group_id=126 _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers