Pull request on Github is ideal - and if you've got a solid way of testing cap tasks, I'm interested, but it's not super important, as long as you're sure it works :)
-- Pat On 30/04/2011, at 7:58 PM, Nizar Jouini wrote: > Hi! > > Neat! I'll be working on it. Pull request on Github is fine? How about > tests? > > On Apr 30, 5:18 am, Pat Allan <[email protected]> wrote: >> Hi Nizar >> >> A patch for this would be great! >> >> -- >> Pat >> >> On 29/04/2011, at 6:16 AM, Nizar Jouini wrote: >> >> >> >>> Hi! >> >>> First: Thanks for great work for making Sphinx easy to use! >> >>> I wanted to deploy my (Rails 3.0.3) project to production with >>> Capistrano. I found >>> these:http://freelancing-god.github.com/ts/en/deployment.html. >>> Nice. >> >>> Everything went fine except that I did not notice these. >> >>> pid_file: /path/to/app/***shared***/tmp/searchd.pid >>> searchd_file_path: /path/to/app/***shared***/db/sphinx >> >>> So i put there tmp/searchd.pid and db/sphinx. >> >>> Upon deployment I got this error: "File exists - db/sphinx" >>> This occured when running thinking_sphinx.start in the >>> after_update_code task. >> >>> After short amount of debugging I found and fixed the problem (wrong >>> path). I guess this is something that happens pretty often. One way to >>> avoid it would be to really make sure that symlink_sphinx_indexes task >>> makes it's job. Currently it's just ran and outcome is not inspected. >> >>> Also, to make things more confusing if I logged in with ssh and ran >>> rake thinking_sphinx:start RAILS_ENV=production everything went fine. >>> Weird. >> >>> Can I submit a patch to make the symlink_sphinx_indexes work better? >>> The patch would make the task see that such link is possible to create >>> and that it was successfully created. >> >>> -- >>> 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.
