Heroku db: push error uninitialized constant Continued :: Postgres :: PGError

I have a problem running heroku db: pull and db: push. My application runs Rails 3 on the bamboo-ree-1.8.7 stack . I'm new to Sequel and don't know what the script is complaining about.

$ heroku db: click
Loaded cranes v0.3.14
Auto-detected local database: postgres: // xxx@127.0.0.1 / xxx_development? Encoding = utf8
Warning: data in the "profreelas" application will be overwritten and will not be restored.
Failed to connect to database: NameError -> uninitialized constant Sequel :: Postgres :: PGError

Additional information:
My cranes, sequel and gems are updated for the hero.
I run pg db adapter gem.
Run postgresql on my local machine.

+3
source share
1 answer

Do you have a pg.rb or postgres.rb file somewhere in your ruby ​​path? Because it may cause an error, since pg or postgres will load your file instead of the pg or postgres library.

+5
source

Source: https://habr.com/ru/post/1783312/


All Articles