David Kahn
2010-Sep-28 23:27 UTC
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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2010-Sep-29 07:29 UTC
Re: Run ''rails console'' no problem, but not ''rails dbconsole'': Couldn''t find database client: psql.
On Sep 29, 12:27 am, David Kahn <d...-rfEMNHKVqOwNic7Bib+Ti1W1rNmOCjRP@public.gmane.org> 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> 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-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Apparently Analagous Threads
- Rails 3 Active Record query returns "undefined method `loaded?' for #<Array:0x126a4c>"
- Did rails or shoulda go insane on the inflection of 'taxes'?
- The {{key}} interpolation syntax in I18n messages is deprecated...
- cant install psql adapter for rails 2.0
- Bundle installs/Cannot run dbconsole