binarylogic / searchlogic

Searchlogic provides object based searching, common named scopes, and other useful tools.
http://rdoc.info/projects/binarylogic/searchlogic
MIT License
1.4k stars 133 forks source link

Gem Load Error is: undefined method `merge_joins' #172

Open trustarun opened 7 years ago

trustarun commented 7 years ago

I am using ruby2.2 with Rails 4

After installing the gem when I start my rails c, getting below error.

/home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/bundler-1.13.6/lib/bundler/runtime.rb:94:in rescue in block (2 levels) in require': There was an error while trying to load the gem 'searchlogic'. Gem Load Error is: undefined methodmerge_joins' for class Class' Backtrace for gem load error is: /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/activesupport-4.2.5/lib/active_support/core_ext/module/aliasing.rb:32:inalias_method' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/activesupport-4.2.5/lib/active_support/core_ext/module/aliasing.rb:32:in alias_method_chain' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/searchlogic-2.4.28/lib/searchlogic/active_record/consistency.rb:8:inblock in included' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/searchlogic-2.4.28/lib/searchlogic/active_record/consistency.rb:7:in class_eval' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/searchlogic-2.4.28/lib/searchlogic/active_record/consistency.rb:7:inincluded' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/searchlogic-2.4.28/lib/searchlogic.rb:34:in include' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/searchlogic-2.4.28/lib/searchlogic.rb:34:insingleton class' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/searchlogic-2.4.28/lib/searchlogic.rb:34:in <class:Base>' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/searchlogic-2.4.28/lib/searchlogic.rb:33:in' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/searchlogic-2.4.28/lib/searchlogic.rb:26:in <top (required)>' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:inrequire' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in block (2 levels) in require' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:ineach' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in block in require' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:ineach' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in require' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/bundler-1.13.6/lib/bundler.rb:106:inrequire' /home/arun/Projects/internex/config/application.rb:8:in <top (required)>' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/spring-1.6.0/lib/spring/application.rb:82:inrequire' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/spring-1.6.0/lib/spring/application.rb:82:in preload' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/spring-1.6.0/lib/spring/application.rb:143:inserve' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/spring-1.6.0/lib/spring/application.rb:131:in block in run' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/spring-1.6.0/lib/spring/application.rb:125:inloop' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/spring-1.6.0/lib/spring/application.rb:125:in run' /home/arun/.rvm/gems/ruby-2.2.2@quadra/gems/spring-1.6.0/lib/spring/application/boot.rb:18:in<top (required)>' /home/arun/.rvm/rubies/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' /home/arun/.rvm/rubies/ruby-2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'