[DRE-maint] Bug#894138: gitlab: 10.5.6 Problem compiling assets on post-install

Pirate Praveen praveen at debian.org
Tue Mar 27 14:17:51 UTC 2018


On ചൊവ്വ 27 മാർച്ച് 2018 07:40 വൈകു, David López Zajara (Er_Maqui) wrote:
> Hi,
>
> These are the output.
>
> rin:~# ll /var/lib/gems/2.5.0/
> total 40
> drwxr-xr-x   2 root root  4096 Mar  8 17:02 build_info
> drwxr-xr-x   2 root root 12288 Mar 22 10:28 cache
> drwxr-xr-x   3 root root  4096 Mar  8 17:05 doc
> drwxr-xr-x   3 root root  4096 Mar  8 17:02 extensions
> drwxr-xr-x 154 root root  4096 Mar 22 10:28 gems
> drwxr-xr-x   2 root root 12288 Mar 22 10:28 specifications
> rin:~# gem list rake
>
> *** LOCAL GEMS ***
>
> rake (12.3.1)
> rin:~# gem list sprockets
>
> *** LOCAL GEMS ***
>
> sprockets (3.7.1, 3.7.0)

yes, these gems are causing the problem.
> sprockets-es6 (0.9.2)
> sprockets-rails (3.2.1, 2.3.2)
> rin:~# gem which rake
> /usr/lib/ruby/vendor_ruby/rake.rb
> rin:~# gem which sprockets
> /usr/lib/ruby/vendor_ruby/sprockets.rb
> rin:~#
>
>
> But, emptying the /var/lib/gems/2.5.0/ generates another error.
>

Can you share the exact error message?
> If it's a local issue, ok, I understand. Can you in this case tell me
> some workaround to resolve it? Gems have been installed because on
> 8.13 version and/or 9.5.4, some times gitlab got broken because
> missing gems, and i need to do a "bundle install" for resolve these
> problem.
>

Mixing rubygems.org and debian packages can create problems like this.
You can remove the manually installed gems using gem uninstall command.

sudo gem uninstall sprockets
sudo gem uninstall rake
sudo gem uninstall sprockets-rails

possibly for all other gems in that directory.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20180327/bc14cd83/attachment-0001.sig>


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