Hi,

If I inspect the ThinkingSphinx::Configuration.instance I get:

@app_root="/path/to/my_app/config"

If I output the Sinatra::Application.root I get the correct path (/
path/to/my_app)

I'm using bundler, and the relevant bit of the gemfile looks like
this:

gem 'thinking-sphinx', '~> 2.0', :require => 'thinking_sphinx/sinatra'

Bundler.require is called in config/environment.rb

What got me started looking at this is that when I call `rake ts:conf`
the output is:
Generating Configuration to /path/to/app_root/config/config/
development.sphinx.conf
and then the task fails with no such directory.

Any idea what I'm missing?

Cheers,
Katrina

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