摘要:
1 先执行如下 heroku run rake db:migrate 阅读全文
摘要:
登录 sudo su - postgres psql 1 创建Postgresql新用户,devpg是用户名,密码也是devpg, 不是超级管理员,拥有创建数据库权限,登录权限,继承拥有角色权限 2 \du查看 3 配置rails config/database.yml ,注意host属性和port 阅读全文
摘要:
https://www.postgresql.org/download/linux/ubuntu/ 1 check Xenial16.04 2 创建文件 /etc/apt/sources.list.d/pgdg.list 添加 deb http://apt.postgresql.org/pub/re 阅读全文
摘要:
https://stackoverflow.com/questions/6040583/cant-find-the-libpq-fe-h-header-when-trying-to-install-pg-gem For Ubuntu systems: sudo apt-get install lib 阅读全文