Run 'rails console' no problem, but not 'rails dbconsole': Couldn't find database client: psql

It’s one of those things that seems like it should work but does not. My
rails app (and ‘rails console’) clearly knows where my data is as I can
see
my data.

When I run ‘rails dbconsole’ I can not get in, I get this error:
Couldn’t
find database client: psql. Check your $PATH and try again.

Up to now I just log in to pgsql directly and I am in, just curious to
use
the rails tool.

Environment: Rails 3, 1.9.2, rvm.

If you’ve seen this please let me know, I don’t yet see anything in
searches.

David

On Sep 29, 12:27 am, David K. [email protected] wrote:

It’s one of those things that seems like it should work but does not. My
rails app (and ‘rails console’) clearly knows where my data is as I can see
my data.

When I run ‘rails dbconsole’ I can not get in, I get this error: Couldn’t
find database client: psql. Check your $PATH and try again.

Is psql in your path?

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs