Ruby Ruby on Rails 5 Basics Creating an App Our First Resource

Andrew Ackerman
Andrew Ackerman
8,347 Points

Help with postgreSQL.

Hi! Is there anything different I should be doing in order to use PostgreSQL with this? I'm not having any response from the server. I've run servers once or twice before but this just isn't working for me. I'd really appreciate any pointers!

1 Answer

Jay McGavren
STAFF
Jay McGavren
Treehouse Teacher

While still learning Rails I would strongly discourage you from trying to configure a different database; it adds a level of complexity that we're not really prepared to help troubleshoot on this forum.

If you really want to move forward, you can find info about setting up Rails with Postgresql here. If that doesn't solve your problem, we'll need you to post the error messages you're getting from the Rails log (which displays in your terminal after you run rails server).

Andrew Ackerman
Andrew Ackerman
8,347 Points

Thanks! I managed to troubleshoot it. There was a confusion with the gem "pg" rather than the outdated version "postgres".