I am pushing my site to heroku and am encountering a problem with 
flying-sphinx.

I implemented a working Thinking-Sphinx search functionality in 
development. It works just fine. i acquired flying-sphinx. However when I 
run:

    heroku run flying-sphinx configure

I get the following error message:

    Connecting to database specified by DATABASE_URL
    
/app/vendor/bundle/ruby/1.9.1/gems/flying-sphinx-0.8.5/lib/flying_sphinx/sphinx_configuration.rb:24:in
 
`content': undefined method `generate' for 
#<ThinkingSphinx::Configuration:0x00000004648e90> (NoMethodError)
    from 
/app/vendor/bundle/ruby/1.9.1/gems/flying-sphinx-0.8.5/lib/flying_sphinx/sphinx_configuration.rb:8:in
 
`upload_to'
    from 
/app/vendor/bundle/ruby/1.9.1/gems/flying-sphinx-0.8.5/lib/flying_sphinx/cli.rb:32:in
 
`configure'
    from 
/app/vendor/bundle/ruby/1.9.1/gems/flying-sphinx-0.8.5/lib/flying_sphinx/cli.rb:20:in
 
`block in run'
    from 
/app/vendor/bundle/ruby/1.9.1/gems/flying-sphinx-0.8.5/lib/flying_sphinx/cli.rb:20:in
 
`each'
    from 
/app/vendor/bundle/ruby/1.9.1/gems/flying-sphinx-0.8.5/lib/flying_sphinx/cli.rb:20:in
 
`all?'
    from 
/app/vendor/bundle/ruby/1.9.1/gems/flying-sphinx-0.8.5/lib/flying_sphinx/cli.rb:20:in
 
`run'
    from 
/app/vendor/bundle/ruby/1.9.1/gems/flying-sphinx-0.8.5/bin/flying-sphinx:5:in 
`<top (required)>'
    from /app/bin/flying-sphinx:19:in `load'
    from /app/bin/flying-sphinx:19:in `<main>

Here are the versions I use:

    Rails 3.2.11
    Thinking-Sphinx 3.0.2
    Flying-Sphinx 0.8.5
    MySQL2 0.3.12

(my db is running on PostGresql - the MySQL2 is solely for Sphinx)

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to