[Rubygems-developers] [ rubygems-Bugs-27641 ] Gem.default_bindir is hardcoded on Mac

noreply at rubyforge.org noreply at rubyforge.org
Mon Jan 18 11:20:13 EST 2010


Bugs item #27641, was opened at 2009-12-30 17:47
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27641&group_id=126

Category: other
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Max Howell (mxcl)
Assigned to: Nobody (None)
Summary: Gem.default_bindir is hardcoded on Mac

Initial Comment:
The following code in defaults.rb means `gem --bindir /foo/bin` won't work on OS X:

  def self.default_bindir
    if defined? RUBY_FRAMEWORK_VERSION then # mac framework support
      '/usr/bin'
    else # generic install
      ConfigMap[:bindir]
    end
  end

It also means setting: `gem: --bindir /foo/bin` in .gemrc doesn't work.

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

Comment By: Christopher Lerum (chrislerum)
Date: 2010-01-18 11:20

Message:
Oh good, someone else has noticed this. I sure hope this gets fixed. Don't like hack hack ;)

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

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


More information about the Rubygems-developers mailing list