Well at the moment I have my app in both prod and dev. In cmd I run Rake ts:start in the same directory as my app.
TS is now: using config file 'C:/.../config/development.sphinx.conf'... creating server socket on (my localhost) and is accepting connections When I open another cmd window and in the same directory I Rake ts:index Generating Configuration to C:/.../config/development.sphinx.conf C:/Ruby/binrake: Nosuch fle or directory - cat C:/.../log/ searchd.development.pid rake aborted! you have a nil object when you didn't expect it! you might have expected an instance of ActiveRecord::Base. The error occured while evaluting nil.[] both are being run as administrator. If it was possible to perform ts:index then I could easily schedule a batch file. Also this occurs if I try to TS:stop as well. I apologise If I am being abstract Thanks Ajay On Jul 13, 9:59 am, Thibaut Barrère <[email protected]> wrote: > Hi Ajay, > > > BUT obviously it is unable to run due to TS being started > > and using the config file. If anyone has been able to run rake > > TS:index regularly on a windows any help would be much appreciated :( > > I'm not working on windows with TS, but I'm wondering: what makes you > say that TS being started and using the config file is an issue ? Are > you using the same environment for both ? (production, development) ? > > If you run rake ts:index having ts running in parallel is not an issue > afaik. > > Are you using the same account to execute the task ? Are you starting > in the right folder ? Any error message you could share ? > > -- Thibaut --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
