-
Notifications
You must be signed in to change notification settings - Fork 48
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 when generating refinerycms_memberships #27
Comments
I have the same issue, using gem 'refinerycms', '~> 1.0.8' |
same problem with refinery 1.0.9 |
problem disappeared, but I don't know how exactly |
Same problem - /vendor/engines/refinerycms_membership/lib/refinerycms-memberships.rb:19: uninitialized constant Refinery::Admin::DashboardController (NameError) |
edit lib/refinerycms-memberships.rb the same with add_profile_fields_to_user.rb migration. It worked for me. I've noticed this naming syntax in the other migrations. |
sharonov's comment fixed this for me. Be sure to update the add_profile_fields_to_user.rb migration as well. |
Steps Taken:
Error:
'/Users/frick156/Projects/lorug/vendor/engines/refinerycms_memberships/lib/refinerycms-memberships.rb:19:in
block in <class:Engine>': uninitialized constant Refinery::Admin::DashboardController (NameError) from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:34:in
call'from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:34:in
execute_hook' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:43:in
block in run_load_hooks'from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:42:in
each' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/activesupport-3.0.10/lib/active_support/lazy_load_hooks.rb:42:in
run_load_hooks'from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/application/finisher.rb:46:in
block in <module:Finisher>' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:25:in
instance_exec'from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:25:in
run' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:50:in
block in run_initializers'from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:49:in
each' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/initializable.rb:49:in
run_initializers'from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/application.rb:134:in
initialize!' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/application.rb:77:in
method_missing'from /Users/frick156/Projects/lorug/config/environment.rb:5:in
<top (required)>' from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/application.rb:103:in
require_environment!'from /Users/frick156/.rvm/gems/ruby-1.9.2-p180@refinery/gems/railties-3.0.10/lib/rails/commands.rb:16:in
<top (required)>' from script/rails:6:in
require'from script/rails:6:in `
Environment information:
Ruby version: 1.9.2 p180
Rails version: 3.0.10
Notes:
The text was updated successfully, but these errors were encountered: