New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34567 (closed request: wontfix)

Opened 12 months ago

Last modified 12 months ago

Add /opt/local/lib/postgresql91/bin to $PATH on install and remove it on uninstall

Reported by: sam.kuper@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: mww@…, jwa@…
Port: postgresql91

Description

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.

Change History

comment:2 Changed 12 months ago by ryandesign@…

  • Status changed from new to closed
  • Cc mww@…, jwa@… added
  • Resolution set to wontfix

No, we're not going to do that. You're free to do that to your PATH if you want to, but MacPorts ports are not in the business of modifying user config files.

What you probably actually want to use is "sudo port select postgresql postgresql91".

Note: See TracTickets for help on using tickets.