Ah, you want the rails3 branch - although much better to use the :ref option for the gem listing in your Gemfile and lock to a specific commit. I'm actually planning to switch branch names later this week: http://groups.google.com/group/thinking-sphinx/browse_thread/thread/e4530bd56c849253
Locking to commits instead of branches is generally a good idea for any repo - means less potential for headaches later on. -- Pat On 15/11/2011, at 7:48 AM, Geoff Wright wrote: > Hey Pat - thanks for your help. > > I seem to be getting this: > > Bundler could not find compatible versions for gem "activerecord": > In Gemfile: > thinking-sphinx depends on > activerecord (< 3.0.0, >= 1.15.6) > > rails (= 3.0.9) depends on > activerecord (3.0.9) > > I ran bundle update to no avail, what version of rails do I need to be > running? I don't think I'm running 3.1, I think I'm running 3.0.9 if > that makes a difference? > > Actually - having written it here it seems to make sense, they're both > looking for a different version. Have you seen this before? > > Thanks, > > Geoff > > On Nov 15, 12:33 am, Pat Allan <[email protected]> wrote: >> Hi Geoff >> >> 2.1.0-dev is a very recent release, so you'll need to use Riddle from git as >> well as Thinking Sphinx from git as well - they will support 2.1.0, but >> there aren't gem releases of either yet since that support was added. >> >> gem 'riddle', :git => 'git://github.com/freelancing-god/riddle.git' >> gem 'thinking-sphinx', :git => >> 'git://github.com/freelancing-god/thinking-sphinx.git' >> >> Cheers >> >> -- >> Pat >> >> On 15/11/2011, at 6:27 AM, Geoff Wright wrote: >> >> >> >> >> >> >> >>> In addition - I'm on Lion. >> >>> I can't rake to turn anything on, I get: >> >>> rake aborted! >>> no such file to load -- riddle/2.1.0 >> >>> Tasks: TOP => ts:start => thinking_sphinx:start => >>> thinking_sphinx:app_env >>> (See full trace by running task with --trace) >> >>> On Nov 14, 9:41 pm, Geoff Wright <[email protected]> wrote: >>>> Hey all, >> >>>> Real excited about getting going with Sphinx, coming over from >>>> IndexTank. However, as is always the way I am totally unable to get up >>>> and going. >> >>>> At first, I couldn't get the version from Sphinx to ./configure etc, >>>> then as someone else mentioned on this list I managed to get a version >>>> out of the SVN trunk (hope I'm using that right?). >> >>>> But I cannot get it running for love nor money, I've installed Riddle >>>> separately as a gem >> >>>> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.9/lib/active_support/ >>>> dependencies.rb:239:in `require': no such file to load -- riddle/2.1.0 >>>> (LoadError) >>>> from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.9/lib/ >>>> active_support/dependencies.rb:239:in `require' >>>> from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.9/lib/ >>>> active_support/dependencies.rb:225:in `load_dependency' >>>> from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.9/lib/ >>>> active_support/dependencies.rb:596:in `new_constants_in' >>>> from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.9/lib/ >>>> active_support/dependencies.rb:225:in `load_dependency' >>>> from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.9/lib/ >>>> active_support/dependencies.rb:239:in `require' >>>> from /Users/geoffwright/.bundler/ruby/1.8/thinking-sphinx- >>>> d9244b8822a8/lib/thinking_sphinx/auto_version.rb:13:in `detect' >>>> from /Users/geoffwright/.bundler/ruby/1.8/thinking-sphinx- >>>> d9244b8822a8/lib/thinking_sphinx/railtie.rb:8 >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> initializable.rb:25:in `instance_exec' >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> initializable.rb:25:in `run' >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> initializable.rb:50:in `run_initializers' >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> initializable.rb:49:in `each' >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> initializable.rb:49:in `run_initializers' >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> application.rb:134:in `initialize!' >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> application.rb:77:in `send' >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> application.rb:77:in `method_missing' >>>> from /Users/geoffwright/Documents/Code/wtl2/config/environment.rb:5 >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> application.rb:103:in `require' >>>> from /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/ >>>> application.rb:103:in `require_environment!' >>>> from >>>> /Library/Ruby/Gems/1.8/gems/railties-3.0.9/lib/rails/commands.rb: >>>> 22 >>>> from script/rails:6:in `require' >>>> from script/rails:6 >> >>>> This is the version of Sphinx I have: >> >>>> Sphinx 2.1.0-dev (r3006) >>>> Copyright (c) 2001-2011, Andrew Aksyonoff >>>> Copyright (c) 2008-2011, Sphinx Technologies Inc (http:// >>>> sphinxsearch.com) >> >>>> Do you have ANY ideas at all? >> >>>> Thanks very much in advance >> >>>> Geoff >> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Thinking Sphinx" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group >>> athttp://groups.google.com/group/thinking-sphinx?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
