I upgraded the project to Rails 5. When I run rspec
I get a warning
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead.
From module, you can access the original method using super.
(called from <top (required)> at /home/alex/projects/myproject/config/application.rb:13)
The failing line in application.rb is:
Bundler.require(*Rails.groups)
How do I find out what is causing this deprecation warning and how to get rid of the error?