Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

uninitialized constant Spree::Admin::ProductsController #122

Open
matiasmansilla1989 opened this issue Mar 20, 2015 · 1 comment
Open

uninitialized constant Spree::Admin::ProductsController #122

matiasmansilla1989 opened this issue Mar 20, 2015 · 1 comment

Comments

@matiasmansilla1989
Copy link

Hello, I created a rails 4.1.6 project and then I added to my gemfile
gem 'spree_multi_domain', git: 'git://github.com/spree/spree-multi-domain.git'

Then when I run:
bundle exec rails g spree_multi_domain:install

I get the next error:
uninitialized constant Spree::Admin::ProductsController (NameError)

/Users/toptierlabs/.rvm/gems/ruby-2.1.1/bundler/gems/spree-multi-domain-c8782907a414/app/controllers/spree/admin/products_controller_decorator.rb:1:in <top (required)>': uninitialized constant Spree::Admin::ProductsController (NameError) from /Users/toptierlabs/.rvm/gems/ruby-2.1.1/bundler/gems/spree-multi-domain-c8782907a414/lib/spree_multi_domain/engine.rb:10:inblock (2 levels) in activate'
from /Users/toptierlabs/.rvm/gems/ruby-2.1.1/bundler/gems/spree-multi-domain-c8782907a414/lib/spree_multi_domain/engine.rb:9:in glob' from /Users/toptierlabs/.rvm/gems/ruby-2.1.1/bundler/gems/spree-multi-domain-c8782907a414/lib/spree_multi_domain/engine.rb:9:inblock in activate'
from /Users/toptierlabs/.rvm/gems/ruby-2.1.1/bundler/gems/spree-multi-domain-c8782907a414/lib/spree_multi_domain/engine.rb:8:in each' from /Users/toptierlabs/.rvm/gems/ruby-2.1.1/bundler/gems/spree-multi-domain-c8782907a414/lib/spree_multi_domain/engine.rb:8:inactivate'
.....

I was looking into the repo but I don't have idea what happen.

Thanks, Matias

@krtschmr
Copy link

Matias;

You need to install spree first. spree_multi_domain is just an extension on-top of spree.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants