lib/rconf/configurators/passenger_configurator.rb in rconf-0.8.5 vs lib/rconf/configurators/passenger_configurator.rb in rconf-0.8.8

- old
+ new

@@ -40,10 +40,10 @@ # false:: Otherwise def check_linux set_defaults report_check("Checking for passenger gem #{gem_version}") res = Command.execute_in_ruby('gem', 'list', 'passenger') - success = (res.output =~ /^passenger \(#{gem_version}\)$/) + success = (res.output =~ /#{gem_version}/) report_result(success) if success report_check('Checking for passenger+nginx') res = Command.execute('which', 'nginx').success? res = File.exists?(File.join(install_path, 'sbin', 'nginx')) unless res