Description of problem: Create redmine-2.0 quickstart following README.md,but failed to git push.It returns some error messages: remote: Installing pg (0.14.0) with native extensions remote: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. remote: remote: /usr/bin/ruby extconf.rb remote: checking for pg_config... no remote: No pg_config... trying anyway. If building fails, please try again with remote: --with-pg-config=/path/to/pg_config remote: checking for libpq-fe.h... no remote: Can't find the 'libpq-fe.h header remote: *** extconf.rb failed *** remote: Could not create Makefile due to some reason, probably lack of remote: necessary libraries and/or headers. Check the mkmf.log file for more remote: details. You may need configuration options. remote: Gem files will remain installed in /var/lib/openshift/117238592411210199597056/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/pg-0.14.0 for inspection. remote: Results logged to /var/lib/openshift/117238592411210199597056/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/pg-0.14.0/ext/gem_make.out remote: An error occured while installing pg (0.14.0), and Bundler cannot continue. remote: Make sure that `gem install pg -v '0.14.0'` succeeds before bundling. remote: An error occurred executing 'gear postreceive' (exit code: 5) remote: Error message: Failed to execute: 'control build' for /var/lib/openshift/117238592411210199597056/ruby remote: remote: For more details about the problem, try running the command again with the '--trace' option. Version-Release number of selected component (if applicable): https://github.com/openshift/redmine-2.0-openshift-quickstart devenv_3456 How reproducible: Always Steps to Reproduce: 1.Create redmine-2.0 quick start following : https://github.com/openshift/redmine-2.0-openshift-quickstart 2. 3. Actual results: remote: Installing pg (0.14.0) with native extensions remote: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. remote: remote: /usr/bin/ruby extconf.rb remote: checking for pg_config... no remote: No pg_config... trying anyway. If building fails, please try again with remote: --with-pg-config=/path/to/pg_config remote: checking for libpq-fe.h... no remote: Can't find the 'libpq-fe.h header remote: *** extconf.rb failed *** remote: Could not create Makefile due to some reason, probably lack of remote: necessary libraries and/or headers. Check the mkmf.log file for more remote: details. You may need configuration options. remote: remote: Provided configuration options: remote: --with-opt-dir remote: --without-opt-dir remote: --with-opt-include remote: --without-opt-include=${opt-dir}/include remote: --with-opt-lib remote: --without-opt-lib=${opt-dir}/lib remote: --with-make-prog remote: --without-make-prog remote: --srcdir=. remote: --curdir remote: --ruby=/usr/bin/ruby remote: --with-pg remote: --without-pg remote: --with-pg-dir remote: --without-pg-dir remote: --with-pg-include remote: --without-pg-include=${pg-dir}/include remote: --with-pg-lib remote: --without-pg-lib=${pg-dir}/lib remote: --with-pg-config remote: --without-pg-config remote: --with-pg_config remote: --without-pg_config remote: remote: remote: Gem files will remain installed in /var/lib/openshift/117238592411210199597056/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/pg-0.14.0 for inspection. remote: Results logged to /var/lib/openshift/117238592411210199597056/app-root/runtime/repo/vendor/bundle/ruby/1.8/gems/pg-0.14.0/ext/gem_make.out remote: An error occured while installing pg (0.14.0), and Bundler cannot continue. remote: Make sure that `gem install pg -v '0.14.0'` succeeds before bundling. remote: An error occurred executing 'gear postreceive' (exit code: 5) remote: Error message: Failed to execute: 'control build' for /var/lib/openshift/117238592411210199597056/ruby remote: remote: For more details about the problem, try running the command again with the '--trace' option. To ssh://117238592411210199597056.rhcloud.com/~/git/7bmrkn5npn.git/ 3fd7ad2..5f771b1 master -> master Expected results: Could create redmine-2.0 successfully Additional info:
Gemfile* and config/database.yml needs to be modified.
Or maybe update Redmine to a more recent version entirely. Seems the latest release has a more intelligent Gemfile. https://github.com/redmine/redmine/blob/2.3.1/Gemfile
Check this bug on devenv_3491,redmine-2.0 quickstart works.Can create it successfully,and can access the app.
Not sure what changed, but I've also verified that redmine works.