[MacPorts] #34567: Add /opt/local/lib/postgresql91/bin to $PATH on install and remove it on uninstall
MacPorts
noreply at macports.org
Mon May 21 13:16:23 PDT 2012
#34567: Add /opt/local/lib/postgresql91/bin to $PATH on install and remove it on
uninstall
-----------------------------------+----------------------------------------
Reporter: sam.kuper@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: postgresql91
-----------------------------------+----------------------------------------
It would be helpful if upon installing the postgresql91 port, the
following directory was added to the $PATH environment variable:
/opt/local/lib/postgresql91/bin
and if the same directory was removed from the $PATH environment variable
upon uninstalling the same port.
This would be helpful for the following reason: it would allow the "pg"
Ruby gem to be installed simply by specifying it in a Gemfile and then
running "bundle install", because it would make pg_config visible on the
$PATH.
Quite a lot of people seem to encounter this problem.
--
Ticket URL: <https://trac.macports.org/ticket/34567>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list