Bug 224232 - www/gitlab: rubygem-pg was upgraded - Gemfile needs update
Summary: www/gitlab: rubygem-pg was upgraded - Gemfile needs update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Torsten Zuehlsdorff
Depends on:
Reported: 2017-12-10 21:54 UTC by gdinolt
Modified: 2017-12-12 10:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (tz)


Note You need to log in before you can comment on or make changes to this bug.
Description gdinolt 2017-12-10 21:54:13 UTC
Attempting to configure gitlab after installation fails with error:

You have requested:
  pg ~> 0.18.2

The bundle currently has pg locked at 0.21.0.
Try running `bundle update pg`

If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`
Run `bundle install` to install missing gems.

Freebsd: FreeBSD gitlab 11.1-STABLE FreeBSD 11.1-STABLE #5 r326612

Portrevision: Revision: 455881

Gitlab and support files built from ports.

Gitlab configuration instructions followed from:

Gitlab seems to work if /usr/local/www/gitlab/Gemfile is updated to point to currently installed rubygem-pg file: ports r455881 (databases/rubygem-pg), rubygem-pg version 0.21.0

< gem 'pg', '~> 0.18.2', group: :postgres
> gem 'pg', '~> 0.21.0', group: :postgres
Comment 1 commit-hook freebsd_committer 2017-12-12 10:54:39 UTC
A commit references this bug:

Author: tz
Date: Tue Dec 12 10:54:13 UTC 2017
New revision: 456116
URL: https://svnweb.freebsd.org/changeset/ports/456116

  www/gitlab: Update from 10.1.4 to 10.1.5

  - remove %%RUBY_SUFFIX%% from plist (thanks to swills)
  - fix broken dependency to rubygem-pg in Gemfile
  - fix broken dependency to rubygem-mysql2 in Gemfile
  - Add support for reverse proxies in rc script
  - Fix: gitlab starts even if gitlab_enable is not set
  - Make default listenAddr configurable

  PR:           224232 222896 220126 218388
  Submitted by: swills, gdinolt@pacbell.net, max@mober.at, Mari?n ?ern? <majo-bugs.freebsd.org@cerny.sk>
  Reviewed by:  tz
  Approved by:  maintainer
  Differential Revision:	https://reviews.freebsd.org/D12376

Comment 2 Torsten Zuehlsdorff freebsd_committer 2017-12-12 10:55:53 UTC
Fix was included by maintainer and is now committed :)