current_item = @items.find {|item| item.product == product} File.join("usr", "mail", "gumby") #=> "usr/mail/gumby"uname -a 如果结果里有x86_64等字样就说明是64位的