The annoying thing about this is that the TS code checks if the file exists - and doesn't (well, shouldn't) attempt to load it if it's not there.
https://github.com/freelancing-god/thinking-sphinx/blob/master/lib/thinking_sphinx/configuration.rb#L269-273 If anyone can spot anything stupid I'm doing there, would welcome your wisdom :) -- Pat On 15/03/2011, at 2:04 PM, Reddy On Rails wrote: > In > config/sphinx.yml file > > just enter environment as > > development: > > thats it make it empty after that or add something u wants to > configure > > Thanks, > Jagan Reddy > > On Mar 11, 10:27 pm, Pat Allan <[email protected]> wrote: >> Hi David >> >> Do you have a config/sphinx.yml file? If so, what's in it? If not, try >> creating it, and leaving it empty. >> >> Also: you should be able to use the gem with Capistrano - the following line >> at the top of your deploy.rb is all I use: >> require 'thinking_sphinx/deploy/capistrano' >> >> Cheers >> >> -- >> Pat >> >> On 11/03/2011, at 2:27 PM, David wrote: >> >>> Rails - 2.3.5 Ruby 1.8.7 >> >>> I have uninstalled the ThinkingSphinx Gem and replaced it with the >>> plugin. Since doing so I have been unable to run any of the tasks. I >>> have commented out the inclusion of the gem in me environment.rb file >>> and also commented out the require statements in my RakeFile. >> >>> I get the error rake aborted! undefined method `[]' for >>> false:FalseClass when running ThinkingSphinx tasks. Below are the >>> associated trace files for these commands: >> >>> task | error >>> rake thinking_sphinx:configure http://pastie.org/1660889 >>> rake thinking_sphinx:index http://pastie.org/1660918 >>> rake thinking_sphinx:start http://pastie.org/1660933 >> >>> I am at a total loss as to what it is that is causing this issue. THe >>> reason I am reverting to the plugin is to use the Capistrano methods >>> that were added. >> >>> Thanks, >> >>> David >> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Thinking Sphinx" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group >>> athttp://groups.google.com/group/thinking-sphinx?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
