From: Mmcolli00 Mom Date: 2010-05-07T04:17:24+09:00 Subject: request.env['HTTP_USER_AGENT'] Hi I just want to do a simple output on my machine showing the ie browser. Every example of request.env['HTTP_USER_AGENT'] that I have seen shows no gem requirement. However, when I try to run this on my computer, I am getting the error below. Do you know what I am doing wrong here? Thanks MC puts request.env['HTTP_USER_AGENT'].gsub(/\/| /, '') Error: browserVersion.rb:3: undefined local variable or method `request' for main:Object (NameError) -- Posted via http://www.ruby-forum.com/.