1. Introduction
This post gathers information about setting up Ruby on Rails with Postgres.2. Step-by-Step
2.1. CentOs required library for Postgres 9.6
# yum install postgresql96-devel
# yum install postgresql96-libs
2.2. Install gem Postgres
# gem install pg -- --with-pg-config=/usr/pgsql-9.6/bin/pg_config3. References
- https://www.digitalocean.com/community/tutorials/how-to-setup-ruby-on-rails-with-postgres
- http://stackoverflow.com/questions/13702417/postgresql-gem-pg-was-unable-to-install
Nenhum comentário:
Postar um comentário