diff options
Diffstat (limited to 'test/other/metrics.rb')
-rwxr-xr-x | test/other/metrics.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/other/metrics.rb b/test/other/metrics.rb index 8f487e200..049d00093 100755 --- a/test/other/metrics.rb +++ b/test/other/metrics.rb @@ -1,4 +1,6 @@ -#!/usr/bin/env ruby -I../lib -I../../lib +#!/usr/bin/env ruby + +$:.unshift("../lib").unshift("../../lib") if __FILE__ =~ /\.rb$/ require 'puppet/metric' require 'puppet' |