Skip to content

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

@trustarun

Description

@trustarun

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 method merge_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:in alias_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:in block 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:in included'
/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:in singleton 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 module:ActiveRecord'
/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:in require'
/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:in each'
/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:in each'
/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:in require'
/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:in require'
/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:in serve'
/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:in loop'
/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:in require'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions