Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Error when reconfiguring thinking_sphinx when used with combination with meta_search
[andrey-mbp ~/projects/rails/alt12-site rails3]$ rake ts:config --trace
WARNING: Nokogiri was built against LibXML version 2.7.7, but has dynamically loaded 2.7.3
** Invoke ts:config (first_time)
** Invoke thinking_sphinx:configure (first_time)
** Invoke thinking_sphinx:app_env (first_time)
** Execute thinking_sphinx:app_env
** Execute thinking_sphinx:configure
Generating Configuration to /Users/akhkharu/projects/rails/alt12-site/config/development.sphinx.conf
rake aborted!
Association named 'applications_forums' was not found; perhaps you misspelled it?
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/meta_search-79806e6a9db5/lib/meta_search/join_dependency.rb:64:in `build_polymorphic'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/meta_search-79806e6a9db5/lib/meta_search/join_dependency.rb:55:in `block in graft_with_meta_search'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/meta_search-79806e6a9db5/lib/meta_search/join_dependency.rb:53:in `each'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/meta_search-79806e6a9db5/lib/meta_search/join_dependency.rb:53:in `graft_with_meta_search'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/gems/activerecord-3.1.0.rc1/lib/active_record/relation/query_methods.rb:277:in `build_joins'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/gems/activerecord-3.1.0.rc1/lib/active_record/relation/query_methods.rb:177:in `build_arel'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/gems/activerecord-3.1.0.rc1/lib/active_record/relation/query_methods.rb:171:in `arel'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/gems/activerecord-3.1.0.rc1/lib/active_record/relation.rb:388:in `to_sql'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/source/sql.rb:29:in `to_sql'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/source.rb:117:in `set_source_sql'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/source.rb:51:in `to_riddle_for_core'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/index.rb:114:in `block in to_riddle_for_core'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/index.rb:113:in `each'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/index.rb:113:in `each_with_index'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/index.rb:113:in `to_riddle_for_core'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/index.rb:83:in `to_riddle'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/active_record.rb:245:in `block in to_riddle'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/active_record.rb:244:in `collect'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/active_record.rb:244:in `to_riddle'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/configuration.rb:164:in `block in generate'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/configuration.rb:161:in `each'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/configuration.rb:161:in `generate'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/configuration.rb:177:in `build'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bundler/gems/thinking-sphinx-909ab5ea4373/lib/thinking_sphinx/tasks.rb:70:in `block (2 levels) in <top (required)>'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:205:in `call'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:205:in `block in execute'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:200:in `each'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:200:in `execute'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/akhkharu/.rvm/rubies/ruby-1.9.2-p180-fastrequire/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:176:in `block in invoke_prerequisites'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:174:in `each'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:174:in `invoke_prerequisites'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:157:in `block in invoke_with_call_chain'
/Users/akhkharu/.rvm/rubies/ruby-1.9.2-p180-fastrequire/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/task.rb:144:in `invoke'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:112:in `invoke_task'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:90:in `block (2 levels) in top_level'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:90:in `each'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:90:in `block in top_level'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:84:in `top_level'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:62:in `block in run'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/lib/rake/application.rb:59:in `run'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@global/gems/rake-0.9.1/bin/rake:32:in `<top (required)>'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bin/rake:19:in `load'
/Users/akhkharu/.rvm/gems/ruby-1.9.2-p180-fastrequire@alt12/bin/rake:19:in `<main>'
Tasks: TOP => ts:config => thinking_sphinx:configure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.