title: Using grit with Ruby on rails
body: <p>When I use <code>rails c</code>, I could type <code>repo = Grit::Repo.name("/path/path")</code> and there is no error.</p>
  
  <p>But when I type these in my rails controller, there is a error message showing: <code>uninitialized constant AaaController::Grit</code> , and if I add <code>require 'grit'</code> , it says <code>no such file to load -- grit</code>.</p>
  
  <p>I am sure that I have added <code>gem 'grit'</code> to my Gemfile and did <code>bundle install</code>.</p>
  
  <p>What's wrong with this?</p>