I have a problem with Rails, which may seem trivial to you, but I will describe below what is going on.
A set that I use everyday:
- Ubuntu 18.04
- ruby-2.4.0
- Rails 5.2.1 (few days ago was and update to 5.2.2.1)
I had a problem with mysql for a few days, but I solved it and it works. I noticed that all projects stopped working for me at the local. When I try to run a project that was written in Rails 5.2.1, I get this error:
/home/mirek/.rvm/gems/ruby-2.4.0/gems/railties-5.2.1/lib/rails/railtie/configuration.rb:97:in method_missing': undefined methodactive_storage' for #Rails::Application::Configuration:0x00564a221eeae8 (NoMethodError)
The commands like rails s or rails c don't work and rails -T displays a very narrow list of available commands to use.
When I try to use rails db:schema:dump I get:
rails aborted! Don’t know how to build task 'db:schema:dump'
I also checked if other similar versions of Rails would also appear same error and it is the same. I'm looking for a solution in Google but still the same.
Can anyone help me with this?