Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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".