Hi Laurent

The issue is that there's not yet a gem release of flying-sphinx that supports 
TS v3. I've got the code all ready to go, I just need the Pusher team to update 
their pusher-client gem so the dependencies are all correct. In the meantime, 
you can use git references in your Gemfile instead:

    gem 'pusher-client',
      :git    => 'git://github.com/pat/pusher-ruby-client.git',
      :branch => 'catch-io'
      :ref    => '608cc28d1a'
    gem 'flying-sphinx',
      :git    => 'git://github.com/flying-sphinx/flying-sphinx.git',
      :branch => 'master',
      :ref    => '6dcf10b9d7'

You will see a warning when the pusher-client gem is installed via git, due to 
a dodgy gemspec - I've also submitted a pull request to the Pusher team to get 
that fixed as well. It won't stop anything from working though.

Sorry about the confusion!

Any further questions, do let me know.

Pat

On 03/04/2013, at 10:18 AM, [email protected] wrote:

> 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.
>  
>  

 

-- 
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