NoMethodError: неопределенный метод `alias_method_chain 'для ActionDispatch :: Request: Class
Я столкнулся с этой проблемой после установки гема wiselinks.
Версия Ruby: Ruby 2.4.0
Версия Rails: Rails 5.1.3
рейк прерван!
NoMethodError: undefinedметод alias_method_chain 'для ActionDispatch :: Request: Class /home/wscube/.rvm/gems/ruby-2.4.0/gems/wiselinks-1.2.1/lib/wiselinks/request.rb:4:inincluded' / home / wscube/.rvm/gems/ruby-2.4.0/gems/wiselinks-1.2.1/lib/wiselinks/rails.rb:9:in include '/home/wscube/.rvm/gems/ruby-2.4.0/gems/wiselinks-1.2.1/lib/wiselinks/rails.rb:9:inblock в классе: Engine '/home/wscube/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/initializable.rb:30:in instance_exec '/home/wscube/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/initializable.rb:30:inrun' / home / wscube/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/initializable.rb:59:in блок в run_initializers '/home/wscube/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/initializable.rb:58:inrun_initializers '/home/wscube/.rvm/gems/ruby-2.4.0 / gems / railties-5.1.3 / lib / rails / application.rb: 353: в инициализации! '/home/wscube/Upstge/upstge-latest-version/config/environment.rb:5:in '/home/wscube/.rvm/gems/ruby-2.4.0/gems/ru/support-5.1.3/lib/active_support/dependencies.rb:292:in require '/home/wscube/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:inblock в require' / home/wscube/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:258:in load_dependency '/home/wscube/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:inrequire '/home/wscube/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/application.rb: 329: в require_environment! '/home/wscube/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/application.rb:445:inblock in run_tasks_blocks '/home/wscube/.rvm/gems/ruby-2.4.0 / gems / sprockets-rails-3.2.0 / lib / sprockets / rails / task.rb: 62: в блоке (2 уровня) в define '/home/wscube/.rvm/gems/ruby-2.4.0@ global / gems / rake-12.0.0 / exe / rake: 27: в '/home/wscube/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in eval' / home / wscube /.RVM / камни / рубиново-2.4.0 / bin / ruby_executable_hooks: 15: в