Hi Katrina

That all seems correct thus far (well, the setup, not the app_root setting). 
Are you using this just within Sinatra? There's no Rails app in the mix as 
well, is there?

-- 
Pat

On 16/09/2011, at 12:39 AM, Katrina wrote:

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

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