Hi Usman I'm not sure if it matters, but can you try putting the riddle gem line in your Gemfile above thinking-sphinx? And also, can you confirm you don't have thinking-sphinx installed as a plugin as well?
Cheers -- Pat On 04/06/2012, at 5:53 PM, Usman Ali wrote: > something going worst.. I am working on multiple rails apps.. in same > env all are working fine but one of them is dont want to talk with > thinking-sphinx.. > > $ rake ts:config > > DEPRECATION WARNING: Rake tasks in /home/usmanali/pw_src/naitazi/ > vendor/plugins/paperclip/tasks/paperclip_tasks.rake are deprecated. > Use lib/tasks instead. (called from <top (required)> at /home/usmanali/ > pw_src/naitazi/Rakefile:16) > DEPRECATION WARNING: Rake tasks in /home/usmanali/pw_src/naitazi/ > vendor/plugins/restful_authentication/tasks/auth.rake are deprecated. > Use lib/tasks instead. (called from <top (required)> at /home/usmanali/ > pw_src/naitazi/Rakefile:16) > DEPRECATION WARNING: Rake tasks in /home/usmanali/pw_src/naitazi/ > vendor/plugins/wice_grid/tasks/wice_grid_tasks.rake are deprecated. > Use lib/tasks instead. (called from <top (required)> at /home/usmanali/ > pw_src/naitazi/Rakefile:16) > > rake aborted! > Don't know how to build task 'ts:config' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/task_manager.rb:49:in `[]' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:115:in `invoke_task' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:94:in `block (2 levels) in top_level' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:94:in `each' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:94:in `block in top_level' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:133:in `standard_exception_handling' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:88:in `top_level' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:66:in `block in run' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:133:in `standard_exception_handling' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/ > rake/application.rb:63:in `run' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/bin/ > rake:33:in `<top (required)>' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/bin/rake:19:in `load' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/bin/rake:19:in > `<main>' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/bin/ > ruby_noexec_wrapper:14:in `eval' > /home/usmanali/.rvm/gems/ruby-1.9.3-p194@global/bin/ > ruby_noexec_wrapper:14:in `<main>' > > > > > when I run app server and hit home page getting a error > > "undefined method `namespace' for main:Object" > > ActionController::RoutingError (undefined method `namespace' for > main:Object): > thinking-sphinx (2.0.10) lib/thinking_sphinx/tasks.rb:4:in `<top > (required)>' > activesupport (3.0.9) lib/active_support/dependencies.rb:239:in > `require' > activesupport (3.0.9) lib/active_support/dependencies.rb:239:in > `block in require' > activesupport (3.0.9) lib/active_support/dependencies.rb:225:in > `block in load_dependency' > activesupport (3.0.9) lib/active_support/dependencies.rb:596:in > `new_constants_in' > activesupport (3.0.9) lib/active_support/dependencies.rb:225:in > `load_dependency' > activesupport (3.0.9) lib/active_support/dependencies.rb:239:in > `require' > app/controllers/application_controller.rb:5:in `<top (required)>' > activesupport (3.0.9) lib/active_support/dependencies.rb:454:in > `load' > activesupport (3.0.9) lib/active_support/dependencies.rb:454:in > `block in load_file' > activesupport (3.0.9) lib/active_support/dependencies.rb:596:in > `new_constants_in' > activesupport (3.0.9) lib/active_support/dependencies.rb:453:in > `load_file' > activesupport (3.0.9) lib/active_support/dependencies.rb:340:in > `require_or_load' > activesupport (3.0.9) lib/active_support/dependencies.rb:491:in > `load_missing_constant' > activesupport (3.0.9) lib/active_support/dependencies.rb:183:in > `block in const_missing' > activesupport (3.0.9) lib/active_support/dependencies.rb:181:in > `each' > activesupport (3.0.9) lib/active_support/dependencies.rb:181:in > `const_missing' > app/controllers/yp_listings_controller.rb:3:in `<top (required)>' > activesupport (3.0.9) lib/active_support/dependencies.rb:454:in > `load' > activesupport (3.0.9) lib/active_support/dependencies.rb:454:in > `block in load_file' > activesupport (3.0.9) lib/active_support/dependencies.rb:596:in > `new_constants_in' > activesupport (3.0.9) lib/active_support/dependencies.rb:453:in > `load_file' > activesupport (3.0.9) lib/active_support/dependencies.rb:340:in > `require_or_load' > activesupport (3.0.9) lib/active_support/dependencies.rb:491:in > `load_missing_constant' > activesupport (3.0.9) lib/active_support/dependencies.rb:183:in > `block in const_missing' > activesupport (3.0.9) lib/active_support/dependencies.rb:181:in > `each' > activesupport (3.0.9) lib/active_support/dependencies.rb:181:in > `const_missing' > activesupport (3.0.9) lib/active_support/inflector/methods.rb:124:in > `block in constantize' > activesupport (3.0.9) lib/active_support/inflector/methods.rb:123:in > `each' > activesupport (3.0.9) lib/active_support/inflector/methods.rb:123:in > `constantize' > > -------------------- > ruby > -------------------- > ruby-1.9.3-p194 > > > > -------------------- > Gemfile > ------------------- > source 'http://rubygems.org' > > gem 'rails', '3.0.9' > #gem "rake", "0.8.7" > gem 'aws-s3', :require => 'aws/s3' > gem 'is_reviewable', '0.1.1' > > gem 'thinking-sphinx', '2.0.10' > gem "riddle", "~> 1.5.0" > > gem 'mysql2', '~> 0.2.6' > gem 'meta-tags', :require => 'meta_tags' > gem "crummy", "~> 1.6.0" > gem "nokogiri" > gem "mechanize" > > gem 'will_paginate', '~> 3.0' > > gem "rmagick" > > > > > > -- > 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.
