Screw diamonds. Ruby is a girl's best friend.

Surfing the waters of programming

If I Ever Fix This Blog

| Comments

Debugging

If you are reading this post, I was able to save this blog and debug this #$!#%#%)&$ error. Pardon my french.

When running octopress

1
rake preview

the followng error showed up:

1
2
3
4
5
6
7
127.0.0.1 - - [06/Nov/2012 19:06:16] "GET /stylesheets/screen.css HTTP/1.1" 200 42533 0.0037
127.0.0.1 - - [06/Nov/2012 19:06:16] "GET /images/line-tile.png?1352246753 HTTP/1.1" 200 636 0.0027
127.0.0.1 - - [06/Nov/2012 19:06:16] "GET /images/rss.png?1352246753 HTTP/1.1" 200 490 0.0025
127.0.0.1 - - [06/Nov/2012 19:06:16] "GET /images/noise.png?1352246753 HTTP/1.1" 200 17742 0.0141
127.0.0.1 - - [06/Nov/2012 19:06:18] "GET /stylesheets/screen.css HTTP/1.1" 304 - 0.0011
[2012-11-06 19:06:18] WARN  Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
127.0.0.1 - - [06/Nov/2012 19:06:19] "GET / HTTP/1.1" 304 - 0.0013

After several attempts at googling it, numerous pulls and pushs and rebase commands, I decided to get to the very bottom of it Locate file

1
~/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpresponse.rb

Set and set it to true Liquid error: ClassNotFound: no lexer for alias ‘Ruby’ found

This should get rid of your error.

For whatever reason, Octopress was having issue with my markdown and syntax. I used [lang:Ruby] within my codeblock as Octopress blog recommends.
Removing lang:Ruby did it for the time being, but I have a feeling there is more to it.

Comments