使用postgresql数据库执行rails服务器时出错

时间:2014-12-24 09:26:31

标签: ruby-on-rails ruby postgresql

我是Ruby on Rails的新手,我试图从一个简单的应用程序开始,我遇到了以下错误 This is the error I get in the termainal

我尝试安装gem install pg --pre和其他pg gems但问题仍然存在。 我错过了什么吗? 任何帮助表示赞赏。

提前致谢。

1 个答案:

答案 0 :(得分:0)

我解决了我的问题:

我的 pg_ext.so 文件位于:/usr/local/share/gems/gems/pg-0.15.1/ext /

将其复制到:/usr/local/share/gems/gems/pg-0.15.1/lib /