rake db:migrate RAILS_ENV=production
uninitialized constant User::Authentication
The preceding I encounter when attempting to migrate to the production
database. My google powers have escaped me. Everywhere says Restful
Authentication is missing in the production server. However, to
validate this, I attempted this on the same server as the development,
So, what could cause the production environment to not see something
that is there, when the development environment can?
Ahh. While writing this, I decided to change:
RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
And, things work fine. Now to find out why. I don't like having to
Nope, that just gets me to...
ActionView::TemplateError (uninitialized constant
...rename vendor/plugins/authentication-plugin to something without a
hyphen character (like ‘authentication’ or ‘restful_authentication’).
Hope this helps
Thanks for the quick reply. The following are the names of the plugins
I presently have installed. None have hyphens.
drwx------ 3 ... ... 4096 2009-01-11 15:38 haml/
drwx------ 5 ... ... 4096 2009-01-11 21:25 restful_authentication/
drwx------ 5 ... ... 4096 2009-01-11 15:38 role_requirement/
Further information on my inability to get Restful Authentication to
This is from running "script/server RAILS_ENV=production" when I just
run script/server, things work fine on the prod server. Both
environments work fine on the dev server...