BBYOpen/BBYIDX — Issue #17: Invalid distance too far back on db:seed
Author: iansthomas
Created: 2011-11-07 16:08:49+00:00
State: open

Hi - I'm new to Ruby and so this might be a simple error on my part but I've followed all of the instructions for getting BBYIDX up and running - including using bundler to get the right dependencies - but have hit an issue on the db:seed that I just can't get past:

"
C:\Users\thomas\ruby>bundle exec rake db:seed
(in C:/Users/thomas/ruby)
DEPRECATION WARNING: Rake tasks in vendor/plugins/acts_as_tsearch/tasks, vendor/plugins/acts_as_tsearch/tasks, vendor/plugins/delayed_job/tasks, vendor/plugins/nested_scenarios/tasks, vendor/plugins/rails-authorization-plugin/tasks, and vendor/plugins/rails_rcov/tasks are deprecated. Use lib/tasks instead. (called from C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/tasks/rails.rb:10)
Loading postal codes...
rake aborted!
invalid distance too far back

(See full trace by running task with --trace)"

I've tried redownloading the csv file from SourceForge and rezipping it from scratch with gzip but that seems to make no difference.

Both bbyidx_dev and bbyidx_test seem to have the correct table structures and bbyidx_test has sample data in it (but not dev).

I'm running on windows 7.

Can anyone give me any advice / pointers, please?

Thanks!

Ian