Ruby Forum Redcloth > RedCloth startup?

Posted by ari gold (Guest)
on 07.11.2007 15:09
(Received via mailing list)
hello hello..

as i am both developing and using my rails app on my laptop and as i 
shut it down at least daily (at night - to conserve energy), i had put 
the ruby startup server command (ruby script/server -d) in a cronjob set 
to reboot.  that way, by the time i opened my browser, rails was already 
running.  presto.

problem is, now that im using redcloth (via acts_as_textiled), i get an 
error on startup:

     uninitialized constant Err::Acts::Textiled::ClassMethods::RedCloth

i can get around this by rebooting the server (for now i've simply 
gotten rid of the cronjob 'cause its easier to just start the server 
than to kill the old process and then start it).  since that works - 
rebooting the server - it leads me to believe that the server has 
started before RedCloth has started, although im surprised that RedCloth 
needs to 'start'.  although maybe its acts_as_textiled?  but i'd be even 
more surprised if acts_as_textiled needed to 'start'.

any ideas?  is there a startup process for RedCloth?  im about to start 
poking around the code but i thought i'd ask first.

thanks ahead of time!
~ari