1. 安装驱动
gem install postgres-pr
2.修改database.yml文件
development/test/production:
adapter: postgresql
database: database #数据库名
username: uid #用户名
password: pwd #密码
host: localhost #服务器地址
1. 安装驱动
gem install postgres-pr
2.修改database.yml文件
development/test/production:
adapter: postgresql
database: database #数据库名
username: uid #用户名
password: pwd #密码
host: localhost #服务器地址