小编ric*_*ick的帖子

安装pg(1.2.1)时出错,Bundler无法继续

我使用的是 CentOS 6,在捆绑安装过程中,出现此错误。

An error occurred while installing pg (1.2.1), and Bundler cannot continue.
Make sure that `gem install pg -v '1.2.1' --source 'https://rubygems.org/'` succeeds before bundling.
Run Code Online (Sandbox Code Playgroud)

我试过这个

gem install pg -v '1.2.1' --source 'https://rubygems.org/'
Run Code Online (Sandbox Code Playgroud)

sudo yum install libpq-dev
Run Code Online (Sandbox Code Playgroud)

postgresql ruby-on-rails bundler ruby-on-rails-5

3
推荐指数
1
解决办法
4814
查看次数