#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
-------------------------+--------------------------------------------------
Changes (by luke):
* status: new => closed
* resolution: => worksforme
* stage: Ready for checkin => Needs more info
Comment:
Where are we in this ticket? Is this actually a problem?
And I'm pretty sure that the install.rb script actually replaces all of
the installed shebang lines with a shebang listing the literal ruby
binary, so it doesn't actually matter. This is easy enough to test:
{{{
$ DESTDIR=/tmp/puppetinstall ./install.rb
...lots of output...
$ head -1
/tmp/puppetinstall/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/puppet
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
$
}}}
Yes, the ruby install on OS X is strange, but that's neither here nor
there: The shebangs shouldn't actually show up in real life.
Given that, I'm going to assume this ticket is fixed. If you're not using
install.rb to get your file list, then you've got to support the system
yourself.
--
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1148#comment:17>
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
-~----------~----~----~----~------~----~------~--~---