rake migrate RAILS_ENV="production"

Was there a resolution to this issue? I'm having the same problem where
ruby script/console shows an error but RAILS_ENV shows production.

Given that the original message was from 2006, picked up again by
someone in 2010 -- maybe you should start a new thread with a clear
description of your problem (which doesn't match that of the OP). :slight_smile: