Try: bundle exec rake ts:stop That will make sure you're using the version of rake that you've bundled.
-- Pat On 26/05/2011, at 1:18 PM, Jeweller wrote: > I'm using Sphinx 0.9.9 > > I uninstilled Sphinx-0.9.9 today with the command sudo apt-get install > sphinxsearch > > $ search > Sphinx 0.9.9-release (r2117) > Copyright (c) 2001-2009, Andrew Aksyonoff > > Usage: search [OPTIONS] <word1 [word2 [word3 [...]]]> > > Then I create a new project to test it,here is the gemfile > gem 'rails', '3.0.7' > gem 'rake', '0.8.7' > gem 'mysql2', '~>0.2.7' > > gem 'thinking-sphinx', '2.0.4' > > group :development do > gem 'faker' > end > > but I couldn't generate any model or use the 'rake' command > error : cannot find rake-0.9.0 any of the sources > > I installed rake-0.9.0 before, but there're other error > so I unstalled it ,and specified the 0.8.7 version in the gemfile > but still got the error > On 5月22日, 下午4时11分, Pat Allan <[email protected]> wrote: >> You'll need the latest TS edge (from GitHub), instead of 2.0.4, if you're >> using Sphinx 2.0.x. >> >> -- >> Pat >> >> On 22/05/2011, at 5:47 PM, Jeweller wrote: >> >> >> >> >> >> >> >>> Hi,there >>> I need some help. >> >>> can't stop thinking_sphinx with rake thinking_sphinx:stop >> >>> I'm using thinking-sphinx 2.0.4, rails 3.0.7 >> >>> here's the erro messages: >> >>> Unsupported version: 2.0.2 >> >>> For more information, read the documentation: >>> http://freelancing-god.github.com/ts/en/advanced_config.html >> >>> rake aborted! >>> execution expired >>> /usr/local/ruby/lib/ruby/gems/1.9.1/gems/riddle-1.3.2/lib/riddle/ >>> controller.rb:74:in `kill' >>> /usr/local/ruby/lib/ruby/gems/1.9.1/gems/riddle-1.3.2/lib/riddle/ >>> controller.rb:74:in `running?' >>> /usr/local/ruby/lib/ruby/gems/1.9.1/gems/riddle-1.3.2/lib/riddle/ >>> controller.rb:62:in `ensure in stop' >>> /usr/local/ruby/lib/ruby/gems/1.9.1/gems/riddle-1.3.2/lib/riddle/ >>> controller.rb:62:in `stop' >>> /usr/local/ruby/lib/ruby/gems/1.9.1/gems/thinking-sphinx-2.0.4/lib/ >>> thinking_sphinx/tasks.rb:56:in `block (3 levels) in <top (required)>' >>> /usr/local/ruby/lib/ruby/gems/1.9.1/gems/thinking-sphinx-2.0.4/lib/ >>> thinking_sphinx/tasks.rb:55:in `block (2 levels) in <top (required)>' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:634:in `call' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:634:in `block in execute' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:629:in `each' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:629:in `execute' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:595:in `block in >>> invoke_with_call_chain' >>> /usr/local/ruby/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:581:in `invoke' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in >>> top_level' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2019:in `each' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2058:in >>> `standard_exception_handling' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2013:in `top_level' >>> /usr/local/ruby/lib/ruby/1.9.1/rake.rb:1992:in `run' >>> /usr/bin/rake:28:in `<main>' >> >>> -- >>> 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.
