Hi Pat, first off, thanks a lot. I was growing really despondent.
I have 3 follow-up questions. Sorry for taking more of your time: 1) Does this mean that in the near future TS3 support will up on FS, and so I should update my gemfile to reflect that (I have no problem doing that) 2) who are the "Pushers"? I don't know much about rails development (or any development, for that matter) 3) I placed my "flying sphinx" gem in a production block in my gemfile, because otherwise it was interfering with TS in development. Is that counter-indicated. S I won't be able to take care of this for a couple of hours - fingers crossed! Thanks again, Laurent. On Tue, Apr 2, 2013 at 6:08 PM, Pat Allan <[email protected]> wrote: > Oh, and for those still using Ruby 1.8.7, you'll need to add one more gem > into the mix: > > gem 'openssl-nonblock', '0.2.1' > > On 03/04/2013, at 12:05 PM, Pat Allan wrote: > > > 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. > > > > > > > > -- > 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. > > > -- ______________________________________________________ *Laurent Gorse* MBA Candidate, class of 2013 *Stanford Graduate School of Business* 650.644.9188 [email protected] gsb.stanford.edu|Facebook: StanfordGSB <http://Facebook.com/StanfordGSB>|Twitter: @StanfordBiz <http://twitter.com/StanfordBiz> -- 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.
