My DB is PostgreSQL.I am on CENTOS.... While installing the pg gem I received the following error. I reinstalled to clear my YAML problem also, which didn\'t work, but it is jus
My problem is before pg gem was already installed.. but it is not loading to bundle.. Now the solution is: when we are declaring a new application like 'rails new Demo' we have to include
'--database=postgresql'. so now the total command is: 'rails new Demo --database=postgresql'
Then the pg gem file will gets to bundle..
In bundle only one gem will gets store . either pg gem or sqlite3 gem..
Now edit the database.yml file accordingly.. thats it