generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-sudoers.conf in rubber-1.5.9 vs generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-sudoers.conf in rubber-1.5.10
- old
+ new
@@ -1,7 +1,7 @@
<%
@path = '/etc/sudoers'
@additive = ["# munin passenger start", "# munin passenger end"]
%>
-nobody ALL=(ALL) NOPASSWD: <%= ENV['GEM_HOME'] %>/bin/passenger-status
-nobody ALL=(ALL) NOPASSWD: <%= ENV['GEM_HOME'] %>/bin/passenger-memory-stats
+nobody ALL=(ALL) NOPASSWD: <%= rubber_env.rvm_gem_home %>/bin/passenger-status
+nobody ALL=(ALL) NOPASSWD: <%= rubber_env.rvm_gem_home %>/bin/passenger-memory-stats