Closed evio-fragoso closed 2 years ago
Thanks for reporting this, @evio-fragoso, I will take a closer look to understand what is going on
@evio-fragoso can you try to require postgresql_backup
in the first line of your initializer?
require 'postgresql_backup'
PostgresqlBackup.configure do |config|
# This gem works with two possible repositories:
...
Also, add this to your Rakefile, but before Rails.application.load_tasks
:
require 'postgresql_backup'
I created a new rails project with the versions you use and these two lines solved the issue for me:
Let me know if the issue is gone with that, so I can update the README
@arturcp it worked after requiring in these files. Thank you!
After installing the gem and adding the initializer for configuration the following error is raised:
I tried to change versions without success. I'm using ruby 2.7.6 and rails 6.1.4