我已经看过一百万次了,但是这次我通常的修复和计算器溢出建议不起作用。
当我运行 bundle install
时,它在 pg 处失败:
An error occurred while installing pg (1.2.3), and Bundler cannot
continue.
过去,我通过在再次运行 gem install bundler
之前先运行 bundle install
解决了这个问题。这一次,没有运气。有什么建议吗?
答案 0 :(得分:1)
当然,在我发布这篇文章的那一刻,我找到了另一个 stackoverflow 问题的解决方法。
这成功了:
gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/latest/bin/pg_config