#1148: shebang should be '/usr/bin/env ruby'
-------------------------+--------------------------------------------------
Reporter: do | Owner: luke
Type: defect | Status: closed
Priority: normal | Milestone:
Component: executables | Version:
Severity: trivial | Resolution: worksforme
Keywords: | Stage: Needs more info
Patch: None | Complexity: Trivial
-------------------------+--------------------------------------------------
Comment (by do):
Of course 'install.rb' does replace shebangs, BUT: What if someone does
not install from source, but uses packages? Then, the packager's
environment ist used, which is not the right one in our case (we have
/opt/local/bin/ruby (darwinports)).
saying things like:
{{{
If you're not using install.rb to get your file list, then you've got to
support the system yourself.
}}}
is pretty adacious (IMHO) in the context of puppet, which is supposed to
work on many (if not all) unix-like systems. Mac OS X is one of those,
anyway, I have a workaround:
- Install puppet from packages
- have puppet itself replace the shebang afterwards
I regard this a hack....
--
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1148#comment:18>
puppet <http://reductivelabs.com>
Puppet - Portable System Automation
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---