Path: | lib/redcloth.rb |
Last Update: | Fri Aug 07 22:47:50 +0000 2009 |
If this is a frozen gem in Rails 2.1 and RedCloth 3.x was already loaded by Rails’ ActionView::Helpers::TextHelper, the user will get "redcloth_scan.bundle: Class is not a module (TypeError)" This hack is to work around that Rails loading problem. The problem appears to be fixed in Edge Rails [51e4106].