# File lib/phusion_passenger/platform_info/operating_system.rb, line 32
        def self.os_name
                if rb_config['target_os'] =~ /darwin/ && (sw_vers = find_command('sw_vers'))
                        return "macosx"
                else
                        return RUBY_PLATFORM.sub(/.*?-/, '')
                end
        end