Hello Pat,

thanks for reply.

Following are my configuration,

Rails - 2.3.2
sphinx - 0.9.8
thinking-sphinx - 1.1.6


contents of my config/environments/test.rb file
---------------------------------------------------------------------------------
config.cache_classes = true
config.whiny_nils = true
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching             = false
config.action_controller.allow_forgery_protection    = false
config.action_mailer.delivery_method = :test
APP_URL = "http://localhost:3000";
-----------------------------------------------------------------------------------

do i need to add more to the test.rb?

Thanks,
Viki

On Aug 24, 3:47 pm, Pat Allan <[email protected]> wrote:
> Hi Viki
>
> What versions of Rails, Sphinx, and TS are you using? This should work  
> (and I just double-checked on a Rails 2.3.3 app).
>
> Also, what's the contents of your config/environments/test.rb file?
>
> --
> Pat
>
> On 24/08/2009, at 9:55 AM, viki wrote:
>
>
>
> > Hi,
>
> > I tried 'rake thinking_sphinx:index RAILS_ENV=test'
>
> > but it throws following error
>
> > F:\test_sarasaves\sarasaves>rake thinking_sphinx:index RAILS_ENV=test
> > (in F:/test_sarasaves/sarasaves)
> > Generating Configuration to F:/test_sarasaves/sarasaves/config/
> > test.sphinx.conf
> > Sphinx 0.9.8-release (r1533)
> > Copyright (c) 2001-2008, Andrew Aksyonoff
>
> > using config file 'F:/test_sarasaves/sarasaves/config/
> > test.sphinx.conf'...
> > FATAL: no sources found in config file.
> > rake aborted!
> > The following command failed:
> >  indexer --config F:/test_sarasaves/sarasaves/config/test.sphinx.conf
> > --all
--~--~---------~--~----~------------~-------~--~----~
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