title: RedCloth is breaking my Rails 3 blog
body: <p>Something like Textile for the posts feels pretty necessary, but this is giving me all kinds of headaches. <code>bundle package</code> and <code>bundle install</code> are both working fine, and confirm that RedCloth is set to the latest stable release (4.2.2). Right now I'm on ruby 1.9.2p0 and rails 3.0.7.</p>
  
  <p>When I try to run a local server, though, I'm seeing:</p>
  
  <pre><code>LoadError in PostsController#index
  
  no such file to load -- RedCloth
  
  ...
  
  app/controllers/posts_controller.rb:1:in `&lt;top (required)&gt;'
  
  This error occurred while loading the following files:
     RedCloth
  </code></pre>
  
  <p>Line 1 in posts_controller is <code>require 'RedCloth'</code>. I haven't made any other changes to the basic Rails scaffold besides adding json formatting and a private authentication method, neither of which should be affecting this.</p>
  
  <p>I'm using a partial to render my posts. It currently looks like this:</p>
  
  <pre><code>&lt;% div_for post do %&gt;
    &lt;h2&gt;&lt;%= link_to_unless_current h(post.title), post %&gt; &lt;/h2&gt;
    &lt;%= RedCloth.new(post.body).to_html %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Gemfile:</p>
  
  <pre><code>source 'http://rubygems.org'
  
  gem 'rails', '3.0.7'
  
  gem 'sqlite3'
  gem 'rake-compiler'
  gem 'RedCloth'
  
  group :development, :test do
    gem 'webrat'
    gem 'rspec'
    gem 'rspec-rails'
  end
  </code></pre>
  
  <p>(rake-compiler is there from an attempt to follow these instructions, btw: <a href="http://www.ruby-forum.com/topic/484752" rel="nofollow">http://www.ruby-forum.com/topic/484752</a> [I tried it with both ruby 1.9.1 and 1.9.2, no dice or else I wouldn't be here])</p>
  
  <p>TIA :)</p>