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 ResourceController #8

Open
conradwt opened this issue Apr 8, 2010 · 4 comments
Open

uninitialized constant ResourceController #8

conradwt opened this issue Apr 8, 2010 · 4 comments

Comments

@conradwt
Copy link

conradwt commented Apr 8, 2010

I installed the resource_controller as a gem and added the config.gem to the environment.rb. However, I'm getting the following error message:

]/opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:443:in load_missing_constant' /opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:inconst_missing_with_dependencies'
/opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:92:in const_missing' /Users/conradwt/rails.dir/examples/purchase/app/controllers/admin/purchase_orders_controller.rb:1:in'

@conradwt
Copy link
Author

This issue has been resolved.

@renemadsen
Copy link

What did you do to solve this issue conradwt? I'm having the same issue, so it would be nice with a solution ;-)

@renemadsen
Copy link

Found the solution my self - and it's just to place the config.gem "resource_controller" in your environment.rb file...

@conradwt
Copy link
Author

Yes, this is the way that I resolved the issue. In the future, I need to remember to post my solution(s) when I resolve the issue.

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