title: rake db:migrate returns "rake: Is a directory"?
body: <p>I've been searching for the answer to this question for a week, but haven't found one.  I'm running Mac OS 10.5.8 if that's relevant. </p>
  
  <p>I'm trying to do the Peepcode tutorial "Meet Rails 3" but when I run the command line <code>user$ rake db:migrate</code> I get the following error message:</p>
  
  <pre><code>/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake: Is a directory - /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake (Errno::EISDIR)
  from /usr/local/bin/rake:19:in `load'
  from /usr/local/bin/rake:19
  </code></pre>
  
  <p>I found the exact same error at <a href="http://ruby.pastebin.com/39MMLxTa" rel="nofollow">ruby.pastebin.com</a> with no answer.  Thanks to anyone willing to help out an aspiring developer.  Thanks.</p>