I have the SLEEP_TIME constant written in each task inside the namespace . Each task has its own constant with its own value.
Why when I run task1 , I see these errors?
/app/lib/tasks/task1.rake:11: warning: already initialized constant SLEEP_TIME /app/lib/tasks/task2.rake:9: warning: previous definition of SLEEP_TIME was here /app/lib/tasks/task3.rake:11: warning: already initialized constant SLEEP_TIME /app/lib/tasks/task1.rake:11: warning: previous definition of SLEEP_TIME was here Accordingly, if you use not one, but more constants, then these errors will be more.
Why does one run into another when running a single task? Can I turn it off somehow?
namespace" - any? Which one from Rake ? - D-siderake assets. - Colibri