0

I have a task called extract. According to this blog post, all I'd need do to run the task manually (from the console) is:

heroku run rake extract:start

But I get the following error:

NameError (undefined local variable or method `extract' for main:Object)

I have also tried: heroku run rake extract as per instructions here, but get the same error

stevec
  • 41,291
  • 27
  • 223
  • 311

1 Answers1

0

An old question, but to answer it:

heroku run rails db:migrate

(or for older rails versions):

heroku run rake db:migrate
stevec
  • 41,291
  • 27
  • 223
  • 311