# How to read the logs?

**URL:** <https://www.ruby-forum.com/t/how-to-read-the-logs/153569>\
**Category:** Rails\
**Created:** [November 18, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/how-to-read-the-logs/153569 "2008-11-18T21:38:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 18, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/how-to-read-the-logs/153569/1 "2008-11-18T21:38:44Z")

</div>

Can anyone tell me where I can learn how to read and decipher the  
logs? I’ve done a few google searches and nothing comes up.

Specifically, I just uploaded my first app to a production server and  
it doesn’t work and I got the following even though it works perfectly  
fine on my development machine:

ctionView::TemplateError (uninitialized constant  
Err::Acts::Textiled::ClassMethods::RedCloth) on line #26 of viewer/  
show.html.erb:  
23:  
24: \<% else %\>  
25:  
26: \<%= @page.body %\>  
27:  
28: \<% end %\>  
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/  
active\_support/dependencies.rb:276:in `load_missing_constant' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/ active_support/dependencies.rb:468:in`const\_missing’  
/home/admin/book/vendor/plugins/acts\_as\_textiled/lib/  
acts\_as\_textiled.rb:24:in `body' /home/admin/book/app/views/viewer/show.html.erb:26:in`\_run\_erb\_47app47views47viewer47show46html46erb’

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 18, 2008, 9:43pm UTC](https://www.ruby-forum.com/t/how-to-read-the-logs/153569/2 "2008-11-18T21:43:25Z")

</div>

removed\_email\_address@domain.invalid wrote:

> Can anyone tell me where I can learn how to read and decipher the  
> logs? I’ve done a few google searches and nothing comes up.
> 
> Specifically, I just uploaded my first app to a production server and  
> it doesn’t work and I got the following even though it works perfectly  
> fine on my development machine:

I’m not sure there’s any substitute for just good old fashioned  
experience. In this case there’s a missing RedCloth library - I’d  
guess you’re missing the redcloth gem on your server.

Fred

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 18, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/how-to-read-the-logs/153569/3 "2008-11-18T23:49:34Z")

</div>

I can vouch for this. I haven’t been reading logs for long, but I’m  
getting better the more I do it … which is bad, because it means I’m  
making a lot of mistakes. I digress however.

It does look like you are missing the RedCloth gem on your production  
server.

On Nov 18, 2:42 pm, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 21, 2008, 8:27am UTC](https://www.ruby-forum.com/t/how-to-read-the-logs/153569/4 "2008-11-21T08:27:42Z")

</div>

The RedCloth gem is installed:  
RedCloth (4.1.1, 4.1.0)

That’s why I’m going nuts trying to figure this out.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 21, 2008, 11:59am UTC](https://www.ruby-forum.com/t/how-to-read-the-logs/153569/5 "2008-11-21T11:59:27Z")

</div>

On 21 Nov 2008, at 07:27, removed\_email\_address@domain.invalid wrote:

> The RedCloth gem is installed:  
> RedCloth (4.1.1, 4.1.0)
> 
> That’s why I’m going nuts trying to figure this out.

Then presumably something is stopping it loading. Acts as textile  
swallows the load error, so I’d start by just loading rubygems in irb  
and try to require RedCloth.

Fred
