script/console _environment_ tries to read from development instead of _environment_ RAILS_ENV=_environment_ script/console will do the trick