asdf-vm/asdf

bug: asdf reshim gives "Argument list too long" error

frankjkelly opened this issue · 2 comments

Describe the Bug

When running asdf reshim
We get

[2023-09-19T16:01:00.981Z] /usr/bin/env: 'bash': Argument list too long

We noticed this when we upgraded our Docker image

Steps to Reproduce

  1. Run asdf reshim

Expected Behaviour

We do not see

[2023-09-19T16:01:00.981Z] /usr/bin/env: 'bash': Argument list too long

Actual Behaviour

We get this repeatedly

[2023-09-19T16:01:00.981Z] /usr/bin/env: 'bash': Argument list too long

Environment

[2023-09-20T13:25:55.569Z] OS:
[2023-09-20T13:25:55.569Z] Linux build-locust-916a9395-3371-42d8-9419-f70bdbfbebca-zlhrw-8z62x 5.10.179-168.710.amzn2.x86_64 #1 SMP Mon May 22 23:10:22 UTC 2023 x86_64 GNU/Linux
[2023-09-20T13:25:55.569Z] 
[2023-09-20T13:25:55.569Z] /bin/sh: 0: Illegal option --
[2023-09-20T13:25:55.569Z] SHELL:
[2023-09-20T13:25:55.569Z] 
[2023-09-20T13:25:55.569Z] 
[2023-09-20T13:25:55.569Z] ASDF VERSION:
[2023-09-20T13:25:55.569Z] v0.8.0-c6145d0
[2023-09-20T13:25:55.569Z] 
[2023-09-20T13:25:55.569Z] ASDF ENVIRONMENT VARIABLES:
[2023-09-20T13:25:55.569Z] 
[2023-09-20T13:25:55.569Z] 
[2023-09-20T13:25:55.569Z] ASDF INSTALLED PLUGINS:
[2023-09-20T13:25:55.569Z] binnacle                     https://github.com/Traackr/asdf-binnacle.git
[2023-09-20T13:25:55.569Z] gomplate                     https://github.com/sneakybeaky/asdf-gomplate.git
[2023-09-20T13:25:55.569Z] helm                         https://github.com/Antiarchitect/asdf-helm.git
[2023-09-20T13:25:55.569Z] java                         https://github.com/halcyon/asdf-java.git
[2023-09-20T13:25:55.569Z] kubectl                      https://github.com/asdf-community/asdf-kubectl.git
[2023-09-20T13:25:55.569Z] minikube                     https://github.com/alvarobp/asdf-minikube.git
[2023-09-20T13:25:55.569Z] poetry                       https://github.com/asdf-community/asdf-poetry.git
[2023-09-20T13:25:55.569Z] python                       https://github.com/danhper/asdf-python.git


### asdf plugins affected (if relevant)

_No response_

Hello - appreciate any thoughts or insights in relation to ☝️ - thanks in advance!

Ah, thanks for raising.

Are you able to run asdf reshim <tool> for each tool instead of just and see if this is a specific tool causing the issue?