title: Rails "Browser Gem" support
body: <p>I'm new to Rails, I'm trying to get the "browser" gem working.
   (<a href="https://github.com/fnando/browser" rel="nofollow noreferrer">https://github.com/fnando/browser</a>)</p>
  
  <p>I was hoping someone had some example code they code post.  I installed the gem by putting <code>gem "browser", require: "browser/browser"</code> in my gemfile.</p>
  
  <p>I ran <code>gem install browser</code> </p>
  
  <p>So I don't really know how to use the gem to actually get the users browser info.  I tried just doing this as a test in the view <code>&lt;%= browser.full_version %&gt;</code> but I get <code>Template::Error (undefined local variable or method browser'</code></p>
  
  <p>any example code on what to put in a view/modal/controller would be appreciated, thanks.</p>