警告:An error occurred while installing pg (0.17.0), and Bundler cannot continue.Make sure that `gem inall pg -v '0.17.0'` succeeds before bundling.
解决办法:$sudo apt-get install postgresql$sudo apt-get install libpq-dev$gem install pg$cd myapp$bundle installover!