Ticket #2 (new defect)
gen_bridge_metadata should use /usr/bin/ruby
| Reported by: | raimue@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | BridgeSupport |
| Version: | Keywords: | ||
| Cc: |
Description
We had some problems at MacPorts and MacFuse with the gen_bridge_metadata script distributed with Mac OS X.
Regarding tickets: http://trac.macports.org/ticket/15284 http://code.google.com/p/macfuse/issues/detail?id=355
The problem is that the script has a shebang line (#!/usr/bin/env ruby) to use the first ruby available in PATH. But if ruby is installed through MacPorts, /opt/local/bin/ruby will be used because it comes first in PATH. The script will fail because the required ruby gems are not present in this ruby installation and you cannot expect them to be there.
Please change the shebang line to use /usr/bin/ruby instead. This will make the script more reliable in all environments.
Change History
Note: See
TracTickets for help on using
tickets.

