简体   繁体   中英

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 ???

如果您使用的是Ubuntu ,则很可能会丢失隐藏的依赖项

sudo apt-get install libpq-dev

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM