# File lib/phusion_passenger/platform_info/operating_system.rb, line 34 def self.os_name if rb_config['target_os'] =~ /darwin/ && (sw_vers = find_command('sw_vers')) return "macosx" elsif rb_config['target_os'] =~ /^linux-/ return "linux" else return rb_config['target_os'] end end