Here you go: [EMAIL PROTECTED] cardemo]$ rake ultrasphinx:configure (in /var/www/cardemo) Rebuilding configurations for development environment Available models are Car Generating SQL [EMAIL PROTECTED] cardemo]$ sudo rake ultrasphinx:index (in /var/www/cardemo) $ indexer --config '/var/www/cardemo/config/ultrasphinx/ development.conf' --all sh: indexer: command not found [EMAIL PROTECTED] cardemo]$ which indexer /usr/local/bin/indexer
-------------------- On Mar 28, 1:05 pm, "John Parker" <[EMAIL PROTECTED]> wrote: > As a sanity check could you confirm that you are running "rake ..." > and "which ..." from the same shell instance, i.e.., same terminal > window, same tab, same screen, same ssh session, same user, etc.? > > -John > > On Fri, Mar 28, 2008 at 12:27 PM, liquid_rails > > > > <[EMAIL PROTECTED]> wrote: > > > I'm wondering if anyone might have an idea of what's going on here. I > > have installed sphinx and ultrasphinx on my computer as well as the > > chronic gem. To build an index on my database I run > > > "rake ultrasphinx:configure" which executes. > > > Then, when I type > > > "rake ultrasphinx:index" > > > I get the error > > > $ indexer --config '/var/www/cardemo/config/ultrasphinx/ > > development.conf' --all > > sh: indexer: command not found > > > Yet when I check to see if the indexer path is set by running > > > which indexer > > > in my project directory, the computer correctly returns > > > $ indexer --config '/var/www/cardemo/config/ultrasphinx/ > > development.conf' --all > > sh: indexer: command not found > > [EMAIL PROTECTED] cardemo]$ which indexer > > /usr/local/bin/indexer > > > Any idea as to what the problem might be? > > > Thanks, > > > Cheri > > -- > John Parker > [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---
