[MacRuby] #574: macgem should install binaries to /usr/local/bin
#574: macgem should install binaries to /usr/local/bin ---------------------------------+------------------------------------------ Reporter: honglilai@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ macgem currently installs binaries to /usr/bin. This was fine when all the binaries were prefixed with "mac", but that change has been reverted. Installing any gem binaries with macgem now overwrites the ones previously installed by MRI. The attached patch changes the gem bindir to /usr/local/bin. -- Ticket URL: <http://www.macruby.org/trac/ticket/574> MacRuby <http://macruby.org/>
#574: macgem should install binaries to /usr/local/bin ---------------------------------+------------------------------------------ Reporter: honglilai@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Changes (by eloy.de.enige@…): * owner: lsansonetti@… => eloy.de.enige@… Comment: Actually, as recently discussed with Laurent, in the case of MacRuby RubyGems should simply install into the configured prefix. I will look into this today. -- Ticket URL: <http://www.macruby.org/trac/ticket/574#comment:1> MacRuby <http://macruby.org/>
#574: macgem should install binaries to /usr/local/bin ---------------------------------+------------------------------------------ Reporter: honglilai@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by honglilai@…): What is the configured prefix and where is it stored? Config['bindir'] points to /Library/Framework/MacRuby/....../bin which doesn't look like what we want. Config['prefix'] also points to the framework directory. -- Ticket URL: <http://www.macruby.org/trac/ticket/574#comment:2> MacRuby <http://macruby.org/>
#574: macgem should install binaries to /usr/local/bin ---------------------------------+------------------------------------------ Reporter: honglilai@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by lsansonetti@…): I talked to Eloy this morning and we agreed on the following plan: 1) upgrade rubygems to 1.3.5 (backporting any change we made to 1.3.1) 2) change our rbconfig.rb's bindir to /usr/local/bin (honoring the rake sym_instdir option) 3) customize rubygems so that our gem repository is somewhere in /Library/Ruby (/Library/Ruby/Gems/MacRuby might be a good candidate) 4) getting rid of the RUBY_FRAMEWORK constant in our rbconfig.rb Maybe this entry can be used to track all the changes above. -- Ticket URL: <http://www.macruby.org/trac/ticket/574#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby