Are the scripts from config/initializers executed when I run rake task?
It does if your rake task depends on :environment
.
i.e, you declare your task like so:
task :my_task => :environment do ... end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With