Nitisha
Nitisha

Reputation: 101

an error occurred while installing pg (0.18.4)

I'm new to ruby on rails and installing bundle after all required configurations like rvm,ruby,rails etc. But Error on bundle install

an error occurred while installing pg (0.18.4), and bundler cannot continue.

with this another problem after this Please suggest me how to update my old rails application to latest rails.

Please is there any suggestion ???

Upvotes: 1

Views: 297

Answers (2)

Priyadarshani mini
Priyadarshani mini

Reputation: 315

You can install missing a hidden dependency by running this command into your terminal.

sudo apt-get install libpq-dev

You can update your old project of rails to the latest one go through the steps mention on this link

http://dev.mensfeld.pl/2015/12/upgrading-to-ruby-on-rails-5-0-from-rails-4-2-application-use-case/

Upvotes: 1

Prashant chaudhary
Prashant chaudhary

Reputation: 133

If you're on Ubuntu, most likely you're missing a hidden dependency

sudo apt-get install libpq-dev

Upvotes: 1

Related Questions