Bugs item #28399, was opened at 2010-07-18 01:38
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28399&group_id=126
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Greg Hazel (ghazel)
Assigned to: Nobody (None)
Summary: rubygems should use RbConfig::CONFIG['make-prog']
Initial Comment:
Similar to mkmf.rb, rubygems should use Config['make-prog'] if it is set. This
allows per-ruby configuration of which "make" to use.
mkmf.rb does:
$make = with_config("make-prog", ENV["MAKE"] || "make")
make, = Shellwords.shellwords($make)
$nmake = nil
case
when $mswin
$nmake = ?m if /nmake/i =~ make
when $bccwin
$nmake = ?b if /Borland/i =~ `#{make} -h`
end
rubygems/ext/builder.rb does:
make_program = ENV['make']
unless make_program then
make_program = (/mswin/ =~ RUBY_PLATFORM) ? 'nmake' : 'make'
end
I believe they should be the same, and that the mkmf.rb method is preferable.
----------------------------------------------------------------------
>Comment By: James Tucker (raggi)
Date: 2010-07-18 12:23
Message:
+1
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28399&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers