#196 new
Stefan Haslinger

uninitialized constant ArticlesController::RedCloth

Reported by Stefan Haslinger | September 27th, 2010 @ 06:13 AM

Update: Restart of OS helped. Ticket can be closed.
Greetings vom Vienna,

I have got installed Rails 3.0.0, Ruby 1.9.2p0 and RedCloth4.2.3

@textile = RedCloth.new(@article.content).to_html I get
uninitialized constant ArticlesController::RedCloth

Tried with
Bundler.require(:default, Rails.env, redcloth) if defined?(Bundler) as well as
gem 'RedCloth', '4.2.3', :require => 'redcloth' and without them.

Starting a console from Radrails works and with
redcloth.require and
RedCloth.new('h2. test').to_html I see proper output.

Best regards and keep up the good work!

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket