
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,
Stefan
I have got installed Rails 3.0.0, Ruby 1.9.2p0 and RedCloth4.2.3
calling
@textile = RedCloth.new(@article.content).to_html I get
uninitialized constant ArticlesController::RedCloth
Tried with
application.rb:
Bundler.require(:default, Rails.env, redcloth) if defined?(Bundler)
as well as
Gemfile
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.
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