RedCloth 4.2.1 with Rails 2.3.2 -- something's broken

I’m having a hell of a time getting RedCloth working. Here’s my system
info:

gem list rails

*** LOCAL GEMS ***

rails (2.3.2, 1.2.6, 1.2.3)

gem list RedCloth

*** LOCAL GEMS ***

RedCloth (4.2.1, 3.0.4)

admanb$ RedCloth -v
RedCloth 4.2.1

admanb$ rails -v
Rails 2.3.2


Run the app and I get:

ActionView::TemplateError (uninitialized constant
ActionView::Helpers::TextHelper::RedCloth) on line #3 of app/views/
posts/_post.html.erb:
1:

<%=h post.title %>


2:

3: <%= textilize(h post.body) %>
4: <%= link_to ‘Show’, post %>
5: <%= link_to ‘Edit’, edit_post_path(post) %>
6: <%= link_to ‘Destroy’, post, :confirm => ‘Are you
sure?’, :method => :delete %>

Add

config.gem(“RedCloth”)

to environment.rb and I get:

admanb$ script/server
=> Booting WEBrick
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
/Users/admanb/.gem/ruby/1.8/gems/RedCloth-4.2.1/lib/
redcloth_scan.bundle: [BUG] Bus Error
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.3.0]

Anyone have any idea what’s going on?

The error that you’re getting means that RedCloth isn’t compiled - try
installing it again, and look out for error messages. You’ll need to
have the Xcode tools installed as well.

–Matt J.