Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninitialized constant Spree::ThemeSupport #3

Open
laurobecker opened this issue Apr 1, 2013 · 2 comments
Open

Uninitialized constant Spree::ThemeSupport #3

laurobecker opened this issue Apr 1, 2013 · 2 comments

Comments

@laurobecker
Copy link

I'm having the following problem. I'm quite new to Spree, but as I saw, is a Rails 3 compatibility problem.

/usr/local/rvm/gems/ruby-1.9.2-p320/bundler/gems/spree_scaffold-00131e5dc90b/lib/spree_scaffold_hooks.rb:1:in `<top (required)>': uninitialized constant Spree::ThemeSupport (NameError)
    from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
    from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
    from /usr/local/rvm/gems/ruby-1.9.2-p320/bundler/gems/spree_scaffold-00131e5dc90b/lib/spree_scaffold.rb:3:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:72:in `require'
    from /usr/local/rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
    from /usr/local/rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:70:in `each'
    from /usr/local/rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:70:in `block in require'
    from /usr/local/rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:59:in `each'
    from /usr/local/rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.3.4/lib/bundler/runtime.rb:59:in `require'
    from /usr/local/rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.3.4/lib/bundler.rb:132:in `require'
    from /Users/lauro/Documents/Desenvolvimento/Workspace/organica-digital/mystore/config/application.rb:7:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.13/lib/rails/commands.rb:24:in `require'
    from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.13/lib/rails/commands.rb:24:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

Thanks.

@sebastyuiop
Copy link
Owner

I'll have a look asap. Also, you might want to try this fork (https://github.com/siddart/spree_scaffold). It looks like they might have fixed it.

@laurobecker
Copy link
Author

Great! The other branch generates the code properly. I'm having another problem though. I'll open another issue for that and keep this opened to be fixed. OK?

Thank you!

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

No branches or pull requests

2 participants