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

devise 1.0.x & bundler: Rails cannot find devise automatically #114

Closed
d--j opened this issue Feb 19, 2010 · 3 comments
Closed

devise 1.0.x & bundler: Rails cannot find devise automatically #114

d--j opened this issue Feb 19, 2010 · 3 comments

Comments

@d--j
Copy link

d--j commented Feb 19, 2010

Please rename init.rb to rails/init.rb (or keep both files). Rails finds GemPlugins like devise automatically when they are loaded and have a rails/init.rb file. Devise does not have a rails/init.rb so we need a »config.gem 'devise'« line in out environment.rb even when we use bundler's Gemfile with rails.

See bundler's issue 83 for more info and a workaround.

@josevalim
Copy link
Contributor

Please provide a patch with the changes you find appropriate. Thanks.

@d--j
Copy link
Author

d--j commented Feb 19, 2010

I send you an pull request with the change

@josevalim
Copy link
Contributor

Done!

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

No branches or pull requests

2 participants