Getting error, "Don't know how to build task 'thinking_sphinx:index'"

879 views
Skip to first unread message

ct9a

unread,
Jan 6, 2010, 6:48:22 PM1/6/10
to Thinking Sphinx
Hi, guys,

I am very new to thinking sphinx. Just refered to the docs at
http://freelancing-god.github.com/ts/en/quickstart.html.

I tried to generate my index by running "rake thinking_sphinx:index"
and got the following error, "Don't know how to build task
'thinking_sphinx:index'".

I also tried running "rake thinking_sphinx:version" and got the
following error, "Don't know how to build task
'thinking_sphinx:version'".

Any help would be appreciated.

Thank you.


My environment:
-Ubunty Hardy
-Rails 2.3.2
-Gem 1.3.5
-Sphinx 0.9.9

Pat Allan

unread,
Jan 6, 2010, 7:21:29 PM1/6/10
to thinkin...@googlegroups.com
Hello

Have you added the following to your project's Rakefile?
require 'thinking_sphinx/tasks'

Cheers

--
Pat

> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
>
>

Gordon Yeong

unread,
Jan 6, 2010, 7:41:21 PM1/6/10
to thinkin...@googlegroups.com

Hello, Pat,

 Added it in and it works. Sorry I missed out on that in http://freelancing-god.github.com/ts/en/installing_thinking_sphinx.html.

Thank you very much:)


2010/1/7 Pat Allan <p...@freelancing-gods.com>
Reply all
Reply to author
Forward
0 new messages