I’ve this problem when run my “old” rails application.
After some minutes trace, I found the problem is “name” for application controller file.
In my old application, the name is “application.rb“,
and when I renamed it with “application_controller.rb“, it’s working !!
Hope this help people.