puppetlabs-stdlib/spec/unit/puppet
Jeff McCune f604bae98c (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.
2012-07-19 15:41:41 -07:00
..
parser/functions (Maint) Fix interpreter lines 2012-07-19 15:41:41 -07:00
provider/file_line (#8792) Rename whole_line type to file_line 2011-08-04 19:17:48 -07:00
type (#8792) Rename whole_line type to file_line 2011-08-04 19:17:48 -07:00