Reputation: 1
I am trying to deploy ruby on rails project on render platform. I inherited this project in my school and added new features there. I get the following error when I run my Rails application in production mode, but when I run my app in development mode it works fine. "Unable to load application: LoadError: cannot load such file -- database_cleaner/active_record ".
I tried to follow all steps in docs https://render.com/docs/deploy-rails, reinstall cleaner gem, checked compatability, nothing helped
Upvotes: 0
Views: 448
Reputation: 1
The following worked for me:
database_cleaner-active_record
out of the :development
block, so it gets installed alwayscypress_rails
intializer to after the return statementUpvotes: 0