diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2012-07-19 15:27:52 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-07-19 15:41:41 -0700 |
commit | f604bae98cb377b6fc55185d4eeae05d1c7876d2 (patch) | |
tree | 237e3c9771232862ecf8c596d7555f366ac05fbe /lib/puppet/parser/functions/is_numeric.rb | |
parent | 7d3433345e5c4a35b340f628cd7d7015aadfa9a4 (diff) |
(Maint) Fix interpreter lines
This time around I actually know why I'm doing this thanks to the
reminder from Nick Lewis.
Ruby will replace itself in memory with the executable listed in the
interpreter line if the string "ruby" is not in there.
Since /usr/bin/env rspec doesn't contain the substring "ruby", you can't
actually run ruby -W1 or whatever on the file.
This patch fixes the problem by making sure "ruby" is present,
preventing ruby from replacing itself in memory.
Diffstat (limited to 'lib/puppet/parser/functions/is_numeric.rb')
0 files changed, 0 insertions, 0 deletions