asdf-community / asdf-gleam

Gleam plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
67 stars 8 forks source link

using a local gleam binary out of the box is not possible without a symlink #26

Open inoas opened 4 months ago

inoas commented 4 months ago

Provide environment information

asdf info
OS:
Darwin space 22.6.0 Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64 x86_64

SHELL:
zsh 5.9 (x86_64-apple-darwin22.0)

BASH VERSION:
3.2.57(1)-release

ASDF VERSION:
v0.14.0

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/leo/.asdf
ASDF_DIR=/usr/local/opt/asdf/libexec
ASDF_CONFIG_FILE=/Users/leo/.asdfrc

ASDF INSTALLED PLUGINS:
bun                          https://github.com/cometkim/asdf-bun.git main 8491f02
deno                         https://github.com/asdf-community/asdf-deno.git master 87442fe
elixir                       https://github.com/asdf-vm/asdf-elixir.git master d08f506
erlang                       https://github.com/asdf-vm/asdf-erlang.git master 0463971
gleam                        https://github.com/vic/asdf-gleam.git master c7c3a7c
kubectl                      https://github.com/Banno/asdf-kubectl.git master 3d00592
nodejs                       https://github.com/asdf-vm/asdf-nodejs.git master 65441d3
protoc                       https://github.com/paxosglobal/asdf-protoc.git master a44c5cd
python                       https://github.com/danhper/asdf-python.git master 8505457

To Reproduce

See:

  1. https://github.com/gleam-lang/gleam/issues/3085#issuecomment-2092707586
  2. https://github.com/gleam-lang/gleam/pull/3086
  3. https://github.com/asdf-vm/asdf/issues/735#issuecomment-2093142175

Describe the Bug

had to add a symlink for it to work

Expected Behaviour

works without symlink

lpil commented 4 months ago

Could you include the steps to reproduce please? It's a little confusing looking at those three links