autotelik / datashift

Full Excel/CSV Import/Export facilities for Rails
http://www.autotelik.co.uk
Other
136 stars 75 forks source link

uninitialized constant Thor::Sandbox::Datashift::Generate::ModelMapper in datashift:generate:csv #33

Closed lsirivong closed 8 years ago

lsirivong commented 9 years ago

Getting this error when running datashift:generate:csv

> bundle exec thor datashift:generate:csv -m Spree::Product -r spree_export_template.csv -a
warning: parser/current is loading parser/ruby21, which recognizes
warning: 2.1.5-compliant syntax, but you are running 2.1.0.
uninitialized constant Thor::Sandbox::Datashift::Generate::ModelMapper
ERROR: No such Model [Spree::Product] found - check valid model supplied