On Monday, March 14, 2016 at 12:12:10 PM UTC-7, David Graff wrote: > > I'm on Debian linux running ruby 2.3.0; I have these gems installed: > > $ gem list --local | egrep 'sequel|pg|postgres' > pg (0.18.4) > sequel (4.32.0, 4.30.0) > sequel_pg (1.6.14) > > > When I try to connect to a postgres server with "adapter => 'postgres'", > the connection works, but if I say "adapter => 'pg'", I get "LoadError: > cannot load such file -- sequel/adapters/pg (Sequel::AdapterNotFound)". > > I want to make sure I can use a proper implementation of prepared > statements with postgres, so I'm assuming that I want the "pg" adapter > rather than the "postgres" adapter. But what am I missing in order to get > the "pg" adapter fully in place for sequel? >
Sequel's postgres adapter works with the pg driver. Sequel doesn't have a pg adapter. You should use the postgres adapter and you'll be fine. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
