title: Trying to call methods from gems in a view, getting "no such file" error
body: <p>I have just installed a base installation of rails and have edited the main page to view some basic html and a link to create a new blog post via ruby in the corresponding 'erb' file.  I am trying to add some additional ruby commands on this same page via &lt;%= %> tags.  </p>
  
  <pre><code>&lt;h1&gt;Hello, Rails!&lt;/h1&gt; &lt;%= link_to "My Blog", posts_path %&gt;
  
  &lt;p&gt;
  &lt;%= require 'rubygems' %&gt;
  &lt;%= require 'simplegeo' %&gt;
  
  &lt;%= SimpleGeo::Client.set_credentials('token', 'secret') %&gt;
  &lt;%= a = SimpleGeo::Client.get_context(coordinates,coordinates); a %&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>When I load this page , I get the following error: no such file to load -- simplegeo</p>
  
  <p>Can someone point me in the right direction?  Many thanks!</p>