I recently upgraded to the beta gems. I am trying to use script/runner: script/runner "FlickrUtilities.update_all" --environment=production This fails as it tries to connect to my development database. No matter what string I use for the environment, -e or --environment, it always tries to use development. ? H
2005/10/11, Hunter Hillegas <lists@lastonepicked.com>:> script/runner "FlickrUtilities.update_all" --environment=productionDoes that help: RAILS_ENV=production script/runner "FlickrUtilities.update_all" Bye ! François _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails