本文介绍了PostgreSQL的 - pg_config -bash:找不到命令:pg_config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac上构建应用Rails中3 PostgreSQL的...

I'm on a Mac building an app in Rails 3 with PostgreSQL...

PostgreSQL的工作正常,但在命令行中,我得到了以下错误:

PostgreSQL is working fine but in the command line I get the following error:

$ pg_config
-bash: pg_config: command not found

任何人知道如何得到这个设置,使我可以运行pg_config?

Anyone know how to get this setup so I can run pg_config?

感谢

推荐答案

您可以安装PostgreSQL-DEVEL得到那个。在基于RPM的发行版

you can install postgresql-devel to get that. in rpm based distro

yum install postgresql-devel

将工作

或使用

yum provides "*/pg_config"

要得到确切的包

这篇关于PostgreSQL的 - pg_config -bash:找不到命令:pg_config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-05 08:40