[Rubygems-developers] [ rubygems-Bugs-27383 ] gem install build options ignored

noreply at rubyforge.org noreply at rubyforge.org
Tue Nov 3 02:27:00 EST 2009


Bugs item #27383, was opened at 2009-11-01 15: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: Closed
>Resolution: Rejected
Priority: 3
Submitted By: Miguel Vazquez (mikisvaz)
>Assigned to: Chad Woolley (thewoolleyman)
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




----------------------------------------------------------------------

>Comment By: Chad Woolley (thewoolleyman)
Date: 2009-11-03 00:27

Message:
Please update to the latest rubygems, I fixed this a while back:

svn diff -r1986:1987 bin/gem

----------------------------------------------------------------------

Comment By: Ryan Davis (zenspider)
Date: 2009-11-02 12:40

Message:
WFM... (or did)... can you give more info, like `gem env`?

% gem list rsruby
rsruby (0.5.1.1)


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27383&group_id=126


More information about the Rubygems-developers mailing list