Roco and Redcarpet posted on 12 September 2013

I recently ran into an issue with the rocco gem using redcarpet. The error was:

/var/lib/gems/1.9.1/gems/rocco-0.8.2/lib/rocco.rb:447:in `process_markdown`: uninitialized constant Rocco::Markdown (NameError)

One way to fix it is to replace line 36 of /var/lib/gems/1.9.1/gems/rocco-0.8.2/lib/rocco.rb with

libs = %w[redcarpet/compat rdiscount bluecloth]

Basically redcarpet was updated and rocco did not change its code to match the new redcarpet.