After I setup the acts_as_textiled plugin. I got the following error when I deployed to my production server.
ActionView::TemplateError: uninitialized constant Err::Acts::Textiled::ClassMethods::RedCloth
At first I thought it was because the RedCloth gem was not installed, but it was. So I figured there must have been another error going on that was hidden away.
I ssh'd onto the server and navigated to the directory where the app was stored and fired up the console.
script/console production
require 'rubygems'
require 'RedCloth'
Could not find RubyGem echoe (>= 0)
The real problem was revealed, the echoe gem was missing.
sudo gem install echoe
Problem fixed. Read all about echoe.
About Paul
Paul works for Kyan web design agency in Surrey, UK as a Ruby on Rails developer.
Follow Paul on Twitter
Email: paulsturgess [at] gmail.com
Comments...
Top spot on Google!
Nick at 11 Feb 09 at 03:56
I am working on the site for someone, and they do not want the forum to show the new design until the site is completely finished. So the template is not is not the chosen one, and no one can view it.When I preview it though, it shows that error at the bottom of the page.
best video poker hand frequency at 30 Apr 09 at 00:22
I had this issue deploying to Dreamhost... I ran irb> require "rubygems" then require "RedCloth" and got 'no such file to load' As it turned out I just had to use: irb> require "redcloth" and it worked.
Darren at 13 Apr 10 at 03:21
Got something to say?