Skip to content
Advertisement

Fedora, Rails: Make sure that `gem install pg -v ‘0.19.0’` succeeds before bundling

I’m new to Linux, and I just installed a distro korora based on fedora. I installed rails but when i try to create new project and write bundle install in the terminal i got this error

JavaScript

I don’t know what to do and I want to solve this problem as possible as I can.

Advertisement

Answer

You need to install the development pg library first.

yum install postgresql-devel

or if you’re using apt:

apt-get install libpq-dev

Then gem install pg -v '0.19.0'.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement