summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/is_ip_address.rb
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2012-07-19 15:27:52 -0700
committerJeff McCune <jeff@puppetlabs.com>2012-07-19 15:41:41 -0700
commitf604bae98cb377b6fc55185d4eeae05d1c7876d2 (patch)
tree237e3c9771232862ecf8c596d7555f366ac05fbe /lib/puppet/parser/functions/is_ip_address.rb
parent7d3433345e5c4a35b340f628cd7d7015aadfa9a4 (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_ip_address.rb')
0 files changed, 0 insertions, 0 deletions