Reputation: 87
I'm trying to setup a new Rails application and having an issue that I can't seem to resolve. When trying to run rake db:drop
or rake db:create
I keep getting the error:
LoadError: cannot load such file -- active_storage/engine
At first I was getting an error:
LoadError: cannot load such file -- bootsnap/setup
but was able to clear that after adding it to my gemfile.
I see some info on Github that suggests uncommenting require "active_storage/engine"
but I've already done that. Not sure what to do.
Upvotes: 5
Views: 4357
Reputation: 7377
I got this error whilst downgrading my app from rails 6.0 to 5.2
Check in your config/application.rb
for the line
require "action_mailbox/engine"
and try commenting it out.
Upvotes: 3