add database configuration changes

updated gemfile to use postgres for production and sqlite for dev and test