-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
script/generate devise_install not working #27
Comments
I just tried in my computer, using Devise 0.4.2:
And it worked. It was supposed to work on devise 0.4.1 as well, but try upgrading it to check if it's broken for you or on 0.4.2 as well. |
Hi Jose, thanks for the quick reaction. Sadly, upgrading to 0.4.2 did not resolve the problem:
Sorry for the inconvenience ... |
This is quite odd that it's not working. Which rails are you using? (It won't work with Rails 3/edge...) |
I am using
I do not use Rails Edge or Rails 3 ( I am not that fancy ... :-D ) |
BTW: If this only affects me, then please do not bother. Devise is a great piece of code, and you should invest your time into perfecting and extending it. |
Hello, |
Hi Carlos, yes, the config.gem lines are in my environment.rb. Devise as such is working, I am able to login and manage user data. It is just that I cannot use the generator to create the devise initializer like everybody else seems to do ... :-( |
It seems odd... as we can't reproduce here.. are all others Devise generators working fine? |
I know it is odd. I even removed the gems (Warden and Devise) and re-installed them. And yes, all other generators work fine, including
Thanks! |
Hi everyone, I just scrapped all my gems and reinstalled them via the corresponding rake task. Suddenly, everything works fine. Strange, but not unwelcomed ... :-D Thanks for your time, anyway! |
Great it's working now! |
Well after cleaning really all gems * there where some left * /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in Anyone a solution? |
Sorry, but what's the point with Devise? |
Never mind, my fault, it was late yesterday, above is fixed |
C'mon guys. Let's work harder on fixing/understanding issues before reporting bugs. Our efforts can be better put in the source code than in the issues tracker. Thanks. |
I had this issue as well (missing all generators). Deleting all versions of the devise gem and reinstalling with rake gems:install cleared the problem. This on Mac OS X. |
i get this problem when i have rails frozen in vendor/rails/ |
Same here. Have 2 versions of devise. devise (1.1.5, 1.0.8) Here's the solution - just uninstall newer version (for rails 3) and then generate. |
This happens because ./script/generate searches the entire gem sources, but only the most recent versions of each. It ignores any values you have defined with So if you, like me, have devise 1.2.1 and 1.0.11 installed, Anyway, I'd say this is a Rails bug, not really a devise bug. |
Hi everyone,
I installed the latest devise gem (0.4.1) but script/generate devise_install results in the following error:
I wonder whether this is only a problem on my side, or if the generator is missing from the gem ...?
Best regards
Martin Eisenhardt
The text was updated successfully, but these errors were encountered: