mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-11 18:26:50 +00:00
Fix environment variables loading when running whenever
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# Force manual loading of rails application to get all env variables from dotenv-rails when running whenever cmd
|
||||
require File.expand_path('../environment', __FILE__)
|
||||
|
||||
require 'whenever'
|
||||
require 'yaml'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user