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

noreply at rubyforge.org noreply at rubyforge.org
Wed Dec 30 17:47:34 EST 2009


Bugs item #27641, was opened at 2009-12-30 22: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.

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

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