Hi Jeremy, thanks for your comment it helped me find the solution :D I
found my pg gem was pointing to the 'activerecord-jdbc-adapter-0.9.2'
gem instead to its own pg.rb, uninstalling the jdbc adapter made it.

/Library/Ruby/Gems/1.8/gems/activerecord-jdbc-adapter-0.9.2/lib/pg.rb
/Library/Ruby/Gems/1.8/gems/heroku-1.17.10/lib/heroku/commands/pg.rb
/Library/Ruby/Gems/1.8/gems/pg-0.10.1/lib/pg.rb


Thanks a ton!

Sergio



On Feb 1, 6:12 pm, Jeremy Evans <[email protected]> wrote:
> On Feb 1, 11:00 am, smsemos <[email protected]> wrote:
>
>
>
>
>
>
>
>
>
> > This is about and error I am still having (after heroku's nice
> > support). I am copying the original question I posted in
> > StackOverflow:
> > Any help or guidance would be reeeeeaaaly appreciated.
>
> > Thanks!
>
> > >>>>>>.
>
> > I have a problem running the heroku db:pull and db:push commands. My
> > app is running Rails 3 on the bamboo-ree-1.8.7 stack. I am new to
> > Sequel and am not sure what the script is complaining about.
>
> > $heroku db:push
> > Loaded Taps v0.3.14
> > Auto-detected local database: 
> > postgres://[email protected]/xxx_development?encoding=utf8
> > Warning: Data in the app 'profreelas' will be overwritten and will not
> > be recoverable.
> > Failed to connect to database: NameError -> uninitialized constant
> > Sequel::Postgres::PGError
>
> > Additional info:
> > My taps, sequel, and heroku gems are up to date
> > I am running the pg db adapter gem
> > Running postgresql in my local machine
>
> Every other time I've seen this type of error, it's because the person
> has a file with the same name as the underlying db adapter in their
> ruby load path.  Check your ruby load path for a file named pg.rb.
>
> Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to