From: Dmytro Gladkyi Date: 2010-12-06T18:50:36+09:00 Subject: Re: How to get a browser information using only ruby without rails --0015175cd688c4b0390496bad18a Content-Type: text/plain; charset=ISO-8859-1 On Linux you can use: browser = ENV["BROWSER"]. * * This returns executable filename of browser. For example: google-chrome, firefox. On Mon, Dec 6, 2010 at 10:10 AM, Sniper Abandon < sathish.salem.1984@gmail.com> wrote: > Priyank Shah wrote in post #966420: > > I want to get a browser information which user use on its machine but, > > I want to get only by using ruby not want to use rails. > > What do you mean "only by using ruby not want to use rails" ? > > may be try this > > request.env["HTTP_USER_AGENT"] > > > > > Regards > > Thaniyarasu > Castlerock Research > > -- > Posted via http://www.ruby-forum.com/. > > --0015175cd688c4b0390496bad18a--