Path: | lib/redcloth.rb |
Last Update: | Sat Aug 21 02:22:26 -0600 2010 |
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].