-
Notifications
You must be signed in to change notification settings - Fork 533
"uninitialized constant" error on import rake task #972
Comments
You're running the task incorrectly, please see the documentation. Also, Tire is deprecated, please use the elasticsearch-rails gem. On 1. 8. 2014, at 20:33, Erik Dungan notifications@github.com wrote:
|
So, it should be like this? My only question is that seems to differ from the outline when you rake -T:
|
Yes, exactly!
The new gem uses that approach as well -- again, please don't use Tire, use the new gem. |
I'm running tire 0.6.2 with a Rails 3.2x app and ES 0.9.0. I'm trying to use the tire:import:model rake task and get an error as if it can't find my ActiveRecord class.
Command I run:
rake tire:import:model CLASS=Garage RAILS_ENV=staging --trace
Error I get:
The text was updated successfully, but these errors were encountered: