Hi, I'm doing installation gem of ruby on rails, I have problem when i would install gem 'pg' (gem postgresql), I have error Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for pg_config_manual.h... yes
checking for PQconnectdb() in -lpq... yes
checking for PQconnectionUsedPassword()... no
Your PostgreSQL is too old. Either install an older version of this gem or upgrade your database.
*** 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. A problem with PostgreSQL version being too old and to support the version of gem that we had specified but I don't know how install via gem with specific version via form "Install a Ruby Gem" on cpanel.. Any solutions? Thank's Regard's anonymousxxx