Collision Between Ultrasphinx and TextMate Footnotes

   By chris on August 7th 2008 in /dev/rails | 327 views

If, when running in production, your Rails app throws the following error:

uninitialized constant Footnotes::Filter

You’re probably experiencing a collision between Rails’ initializer.rb file and Footnotes’ initializer.rb file.

The fix is detailed at the bottom of Searching a Ruby on Rails application with Sphinx and Ultrasphinx with the specific implementation details available via this github commit: 9bf8344b2d9ece09ff301dfc4e500e00fd46b9bc.

One Response to “Collision Between Ultrasphinx and TextMate Footnotes”

  1. Max responded on 07 Nov 2008 at 8:00 am #

    I had an uninitialized constant error when using HTTParty, but didn’t realise what was causing it. Why am I posting about it here? I don’t have a blog, but there’s this one, and Google might want to keep it… for posterity.

    Problem? I was getting “uninitialized constant Twitter::HTTParty”. Solution? I was requiring rubygems, but not httparty.

    require ‘rubygems’
    require ‘httparty’

    class Twitter
    include HTTParty
    end

    N00b error!

Trackback URI | Comments RSS

Leave a Reply