Установил postgresql как описано:
masterpro.ws/forum/ruby-ruby-on-rails/49...before-bundling#8762
Другие рекомендации также выполнил Все равно после bundle install получаю ошибку:
Code:
Fetching pg 1.0.0
Installing pg 1.0.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/goodwin/rails/test/vendor/bundle/ruby/2.5.0/gems/pg-1.0.0/ext
/usr/bin/ruby.ruby2.5 -r ./siteconf20180608-17067-h7ahvb.rb extconf.rb
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-pg-config=/path/to/pg_config
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.
Как быть? gcc gcc-c++ установлены.
ЗЫ Работаю в OpenSuse.