Fixes rake db:gis:setup for app running rails (3.0.x, 3.1.x). Note that configs_for_environment is only available starting rails 3.2