You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that the hook that loads all these tasks, Rails.application.load_tasks, seems to load local tasks before the environment task, such that this condition is never met.
I wish I had the time and/or knowledge to figure out how to make this work. For now, placing the task definition after the load_tasks hook in the Rakefile is a reasonable workaround.
The text was updated successfully, but these errors were encountered:
causes the same symptoms as described in #8.
The reason is that the hook that loads all these tasks,
Rails.application.load_tasks
, seems to load local tasks before theenvironment
task, such that this condition is never met.I wish I had the time and/or knowledge to figure out how to make this work. For now, placing the task definition after the
load_tasks
hook in the Rakefile is a reasonable workaround.The text was updated successfully, but these errors were encountered: