hello list, i set up a new rails instance with the new rails 2.0 lib. i installed rails 2.0 over my earlier version of rails where is add postgres support via gem install postgres so the error with postgres appears if i set up the database with rake db:create:all the following message appears: rake aborted! Please install the psql adapter: `gem install activerecord-psql- adapter` (no such file to load -- active_record/connection_adapters/ psql_adapter) (See full trace by running task with --trace) i execute the command to install the adapter but there is also an error like this: Updating metadata for 26 gems from http://gems.rubyforge.org .......................... complete ERROR: could not find activerecord-psql-adapter locally or in a repository i asked google for results of this behavior but it seams to be that my error is only my own ;-) has anybody a solution for that`? many thanks to you --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jan 14, 2008 at 01:53:14PM -0800, inriz wrote: [...]> rake aborted! > Please install the psql adapter: `gem install activerecord-psql- > adapter` (no such file to load -- active_record/connection_adapters/ > psql_adapter)[...]> i asked google for results of this behavior but it seams to be that my > error is only my own ;-) > > has anybody a solution for that`?The issue isn''t with a missing gem, it is with incorrect database.yml configuration. You need postgresql as the adapter, not psql.> many thanks to you--Greg --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I think the postgresql adapter is built in, you don''t need to install the gem. My database.yml has: development: adapter: postgresql database: project_development username: project password: whatever encoding: UTF8 f --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Seemingly Similar Threads
- Run 'rails console' no problem, but not 'rails dbconsole': Couldn't find database client: psql.
- [PATCH server] added ovirt-wait4service and invokation in installer to wait for psql/ldap
- using postgres rails/rake fails
- postgres and rake
- permission error in rake''s clone_structure_to_test