I'm following "Ruby on Rails" to set-up my Bonsai Elastic Search Heroku add-on, but the FORCE
flag is not working.
Here's the command from the instructions:
heroku run rake environment elasticsearch:import:model CLASS='Company' FORCE=yes
And here's the error message:
ArgumentError: companies does not exist to be imported into. Use create_index! or the :force option to create it.
What am I doing wrong? Should I use :force
instead of FORCE
?