Thinking_sphinx indexing problem on production

Hello,
I have been using Sphinx with Thinking_sphinx plugin which works well on
local development environment, but once I move it to production (shared
host) I get this error and I'm not sure why

linkamed@linkamedica.ca [~/public_html/linko/current/config]# rake
thinking_sphinx:index RAILS_ENV=production
(in /home/linkamed/public_html/linko/releases/20080924112647)
gcc: No such file or directory
rake aborted!
Expected
/home/linkamed/public_html/linko/releases/20080924112647/app/models/poll.rb
to define Poll

any ideas?

Thanks,

Tam

Hello,
I have been using Sphinx with Thinking_sphinx plugin which works well on
local development environment, but once I move it to production (shared
host) I get this error and I'm not sure why

Expected /home/linkamed/public_html/linko/releases/20080924112647/app/
models/poll.rb to define Poll
just means that something bad happened when loading poll. You'd get a
better error message if you ran script/console and typed in
Poll

Fred