title: ruby on rails gravatar_image_tag
body: <p>I am following the railstutorial.org tutorial. While I am able to see the gravatar on the webpage, my rspec test is failing. </p>
  
  <p>Here is the user_controller_spec.rb test:</p>
  
  <pre><code>describe "GET 'show'" do
  
    before(:each) do
      @user = Factory(:user)
    end
  
    it "should be successful" do
      get :show, :id =&gt; @user
      response.should be_success
    end
  
  end
  </code></pre>
  
  <p>Here is the relevant show.html.erb file:</p>
  
  <pre><code>&lt;table class="profile" summary="Profile information"&gt;
    &lt;tr&gt;
      &lt;td class="main"&gt;
        &lt;h1&gt;
          &lt;%= gravatar_image_tag(@user.email) %&gt;
          &lt;%= @user.name %&gt;
        &lt;/h1&gt;
      &lt;/td&gt;
      &lt;td class="sidebar round"&gt;
        &lt;strong&gt;Name&lt;/strong&gt; &lt;%= @user.name %&gt;&lt;br /&gt;
        &lt;strong&gt;URL&lt;/strong&gt; &lt;%= link_to user_path(@user), @user %&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I get an error stating "undefined method 'gravatar_image_tag'. I already installed the corresponding gem by executing "gem install gravatar_image_tag", added it to my gemfile, and also executed "bundle install". It is listed as installed when I execute "gem list"</p>
  
  <p>I have been trying to debug this for several hours now. Any help would be appreciated. Thanks in advance. BTW, I'm running 32-bit Windows 7 with GIT Bash, RubyInstaller-1.9.2-p0.</p>
  
  <p>Error message:</p>
  
  <p><img src="https://i.stack.imgur.com/OFfRm.png" alt="alt text"></p>