0
bundle show sqlite3
Could not find pg-0.14.1 in any of the sources

知道这里发生了什么吗?要求 sqlite3 如何让我得到 Postgres?我的 Gemfile 为开发设置了 sqlite3,为生产设置了 pg,我在开发环境中。

我已经手动安装了 pg,一旦我安装了 libpq-dev,它就可以工作,然后,bundle show sqlite3 按预期给了我 sqlite3。但是,bundler 怎么会因为没有安装不同的 gem 而弄得这么混乱呢?

4

1 回答 1

0

你能给我们看看你的 Gemfile.lock 吗?我认为其他一些宝石可能需要 pg。

于 2013-03-20T11:20:37.780 回答