[DRE-maint] Bug#916306: gitlab: Error during gitlab installation

Pirate Praveen praveen at onenetbeyond.org
Tue Dec 18 06:41:42 GMT 2018


On 12/18/18 12:07 PM, Pranith Kumar wrote:
> Thanks for the pointer.
> 
> I renamed /var/lib/gems and when I run dpkg configure, I get:
> 
> Setting up gitlab (11.5.4+dfsg-1) ...
> Traceback (most recent call last):
>     1: from /usr/local/bin/bundle:23:in `<main>'
>  :23:in `load': cannot load such file --
> /usr/share/rubygems-integration/all/gems/bundler-1.16.1/exe/bundle
> (LoadError)
> dpkg: error processing package gitlab (--configure):
>  installed gitlab package post-installation script subprocess returned
> error exit status 1
> Errors were encountered while processing:
>  gitlab
> 
> Any idea what this error is?

You are still using a gem installed bundler. It is trying to use bundle
from system path and finding /usr/local/bin/bundle. You should remove
it. I'm not sure if we should call /usr/bin/bundle from postinst to
avoid situations like this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20181218/6d8d4181/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list