Closed lmorris99 closed 10 years ago
I'm not sure this is an error with the rails-devise-pundit application. Could you clarify?
Did you git clone the rails-devise-pundit application or did you use Rails Composer to create it?
Where did the AddDeviseToUsers migration come from? It's not in the rails-devise-pundit application. Is it a migration you added?
I used rails composer. Not sure where the other migration came from. I'll check my cmdline history later today.
On Mar 27, 2014, at 10:10 AM, Daniel Kehoe notifications@github.com wrote:
I'm not sure this is an error with the rails-devise-pundit application. Could you clarify?
Did you git clone the rails-devise-pundit application or did you use Rails Composer to create it?
Where did the AddDeviseToUsers migration come from? It's not in the rails-devise-pundit application. Is it a migration you added?
— Reply to this email directly or view it on GitHub.
Can't reproduce the problem.
I see that I ran
rails new rails-devise-pundit -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb
several times, I think because I didn't have the MySQL password right. Also, I may have ctrl-c-ed out part way through one of them.
At any rate, I just ran that command in a test directory, with the right MySQL password;
It worked OK, rails s starts a server, and http://localhost:3000 shows a reasonable screen.
So no problem after all I guess.
Thanks!
Lindsay Morris CEO, TSMworks Tel. 1-859-539-9900 lindsay@tsmworks.com
On Thu, Mar 27, 2014 at 3:14 PM, Lindsay Morris lindsay@tsmworks.comwrote:
I used rails composer. Not sure where the other migration came from. I'll check my cmdline history later today.
On Mar 27, 2014, at 10:10 AM, Daniel Kehoe notifications@github.com wrote:
I'm not sure this is an error with the rails-devise-pundit application. Could you clarify?
Did you git clone the rails-devise-pundit application or did you use Rails Composer to create it?
Where did the AddDeviseToUsers migration come from? It's not in the rails-devise-pundit application. Is it a migration you added?
Reply to this email directly or view it on GitHubhttps://github.com/RailsApps/rails-devise-pundit/issues/4#issuecomment-38806699 .
I'm glad it's resolved.
Installing on my Mac, I got "Mysql2::Error: Duplicate column name 'email': ALTER TABLE
users
ADDemail
"...I had to remove db/migrations/...AddDeviseToUsers - because it had all the same fields as db/migrations/...DeviseCreateUsers. All good now. Thanks for this whole project!