开发者

heroku db:push error uninitialized constant Sequel::Postgres::PGError [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the 开发者_StackOverflow中文版internet. For help making this question more broadly applicable, visit the help center. Closed 12 years ago.

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://xxx@127.0.0.1/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


Do you have a pg.rb or postgres.rb file somewhere in your ruby path? Because that could cause the error, as requiring pg or postgres will load your file instead of the pg or postgres library.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜