templates/munin/config/rubber/role/passenger/munin-passenger.conf in rubber-2.1.2 vs templates/munin/config/rubber/role/passenger/munin-passenger.conf in rubber-2.2.0
- old
+ new
@@ -19,10 +19,10 @@
END
exit 0
end
def output_values
- status = `rvm exec sudo <%= rubber_env.rvm_gem_home %>/bin/passenger-status`
+ status = `sudo <%= rubber_env.ruby_path %>/bin/passenger-status`
unless $?.success?
$stderr.puts "failed executing passenger-status"
exit 1
end
status =~ /max\s+=\s+(\d+)/