当我输入此内容时:
$ sudo bundle update
发生错误:
An error occurred while installing do_postgres (0.10.17), and Bundler
cannot continue.
Make sure that `gem install do_postgres -v '0.10.17' --source
'https://rubygems.org/'` succeeds before bundling.
所以我尝试安装do_postgres:
sudo gem install do_postgres
它失败了,所以我检查了日志文件。它显示如下错误:
In file included from /usr/include/postgresql/postgres.h:47:0,
from conftest.c:3:
/usr/include/postgresql/c.h:284:2: error: #error must have a working 64-bit integer datatype
#error must have a working 64-bit integer datatype
^~~~~
我不知道如何解决。有人可以帮我吗?
非常感谢!