bundle install fail without libpq-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gitlab (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
I got this error, but after installing libpq-dev the bundle install step finished.
Gem::Installer:
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-
--with-opt-lib
--without-
--with-make-prog
--without-
--srcdir=.
--curdir
--ruby=
--with-pg
--without-pg
--with-pg-dir
--without-pg-dir
--with-pg-include
--without-
--with-pg-lib
--without-
--with-pg-config
--without-
--with-pg_config
--without-
Gem files will remain installed in /home/ubuntu/
Results logged to /home/ubuntu/
An error occurred while installing pg (0.14.1), and Bundler cannot continue.
Make sure that `gem install pg -v '0.14.1'` succeeds before bundling.