[FIXED] Syncing via command-line results in CacheKey error
|
|
So my fix doesnt go un-noticed with all of the text below. FIX: add require ‘cache_key’ to top of lib/tasks/importer.rake PROBLEM: I just installed WH and tried to my initial sync via the command line and got this error. foo@web10 warehouse $ rake warehouse:sync RAILS_ENV=production (See full trace by running task with—trace) |
|
|
I’m receiving the exact same error kabooga. It’s killing my post-commit hook as well. |
|
|
Did you add in my fix? That is, require ‘cache_key’ to the top of lib/tasks/importer.rake This solves my problem. I can run the sync command via command line, no problem. However, my post-commit isnt working, but that could be a separate issue… |
|
|
I did, just wanted to echo that you weren’t the only one having the problem. My post commit is working fine for me, so must be something different. |
|
|
Sorry about that, everyone. Here’s a patch for it. It also removes some extra puts lines I had in there. curl "http://pastie.caboo.se/80132.txt?key=0isl7yyetembxbzth6" | patch -p0 |