Hi -

I found a gist on github regarding how to get Thinking Sphinx to work
in a sinatra app using ActiveRecord and that seems like it will work
but I'm having trouble setting up the application in order to allow me
to run the rake tasks necessary to generate the required configuration
files and the index.

What appears to be happening when I try and run these tasks is that it
seems like the rake task is trying to use a path of "/" for all the
tasks.  Here's the output I get when running ts:config


macbook:autocomplete mengelhart$ rake ts:config
Generating Configuration to /config/development.sphinx.conf
rake aborted!
No such file or directory - /config/development.sphinx.conf

Tasks: TOP => ts:config => thinking_sphinx:configure
(See full trace by running task with --trace)



Note the /config/  path that it's trying to use.    Maybe I'm not
understanding the output correctly though.

I have my model in app/models in my sinatra application directory as
well and i can hit the database and do straight up AR calls in the
sinatra  handlers I just can't seem to get the TS setup configured
appropriately so I can index the model.

Thanks for any help

-- 
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.

Reply via email to