tomash/globalize-spree — Issue #3: Bug with Spree 1.0.0beta
Author: togg
Created: 2011-12-12 20:12:27+00:00
State: open

When starting the server the following is reported:

togg@life-ends ~/test/SchulzConsultPortal $ rails s
=> Booting WEBrick
=> Rails 3.1.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/home/togg/.gem/ruby/1.9.1/bundler/gems/globalize-spree-8eca2ce2526c/app/models/product_decorator.rb:1:in `': uninitialized constant Product (NameError)

Its fixable easily by prefixing the classes by 'Spree::' in the decorators.

The install task fails with:

rake aborted!
uninitialized constant Fileutils

Fixable by calling Spree::Core::FileUtilz

Migration fails with:

== AddGlobalizeToProducts: migrating =========================================
rake aborted!
An error has occurred, this and all later migrations canceled:

uninitialized constant AddGlobalizeToProducts::Product

At that point I stopped trying to fix it :-)