Package Details: asdf-vm 0.14.0-1

Git Clone URL: https://aur.archlinux.org/asdf-vm.git (read-only, click to copy)
Package Base: asdf-vm
Description: Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
Upstream URL: https://asdf-vm.com
Licenses: MIT
Submitter: alecmev
Maintainer: alecmev (rnestler)
Last Packager: rnestler
Votes: 37
Popularity: 1.33
First Submitted: 2019-05-27 20:24 (UTC)
Last Updated: 2024-01-20 17:53 (UTC)

Dependencies (14)

Required by (1)

Sources (1)

Pinned Comments

alecmev commented on 2020-02-10 11:56 (UTC) (edited on 2022-01-20 18:16 (UTC) by alecmev)

Follow the official instructions to make asdf-vm work, see the sections titled "YOUR_SHELL & Pacman".

The completions are already installed, just make sure your shell is configured to use them. That is, don't source completions/asdf.bash or fpath=(completions $fpath).

Thanks for bringing this up, @odelucca. This is worth highlighting in a pinned comment, installation logs are too noisy.

Latest Comments

1 2 3 4 Next › Last »

alecmev commented on 2024-04-19 15:19 (UTC)

@KingCrunch To me this sounds like a general asdf issue, I'd ask upstream or in asdf-direnv ;) This package merely follows their setup instructions.

KingCrunch commented on 2024-04-15 15:18 (UTC)

This may be either a question, or a bug report. Please give me a hint (or bugfix :))

I use asdf with the direnv-plugin [1]. This plugin does not only provide direnv itself, but also a direnv-extension, that can bypass asdf's shims. In that case you dont source /opt/asdf-vm/asdf.sh, because that is exactly what you don't want, if you use the direnv-plugin. In short: direnv changes PATH, so that it points directly to the executables installed by asdf.

However, when you dont source asdf.sh, the command asdf is not available, because asdf.sh creates a function "asdf" (and maybe change PATH? not sure), but the actual command "asdf" is in /opt/asdf/bin/asdf, which is by default not in PATH.

So, what I'd like to see: Please symlink asdf into /usr/bin/asdf :) (or something similar) That should'nt be a bc-break, because asdf.sh would still create the function, which takes precedence.

[1] https://github.com/asdf-community/asdf-direnv

alecmev commented on 2023-01-26 11:02 (UTC)

@MrDev023 Done!

MrDev023 commented on 2023-01-25 18:10 (UTC)

The package not copy asdf.nu in root

alecmev commented on 2022-12-26 21:55 (UTC)

@jtraub Thanks, done ;)

jtraub commented on 2022-10-23 04:21 (UTC) (edited on 2022-10-23 04:21 (UTC) by jtraub)

You can get rid of cpio make requirement using either -exec find param (see [1]) or xargs (see [2]) which is installed as a requirements for base

[1] https://unix.stackexchange.com/a/107647/145327

[2] https://unix.stackexchange.com/a/314823/145327

cdrozak commented on 2022-07-06 08:02 (UTC) (edited on 2022-07-06 08:12 (UTC) by cdrozak)

Does anyone know how to get it to play nice with makepkg? Currently I am not able to install tmuxinator because of the error:

ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory @ dir_s_mkdir - /home/cezdro/.cache/paru/clone/tmuxinator/pkg/tmuxinator/usr/bin

EDIT I managed to fix it by adding the following to $XDG_CONFIG_HOME/pacman/makepkg.conf:

# Remove ~/.asdf/shims from PATH, as it breaks Ruby Gem
PATH=${PATH/$HOME\/.asdf\/shims:/}

Ataraxy commented on 2022-06-29 01:26 (UTC)

Please update the pinned comment to explicitly refer to the pacman sections of the official instructions to work out what file to source depending on your shell.

If you read only the "Bash and Git" instructions, you'll end up sourcing the non-existent $HOME/.asdf/asdf.sh.

rnestler commented on 2022-06-13 13:52 (UTC)

@alecmev 0.10.0 got released two month ago. I'd be willing to co-maintain if you don't have the time to update the package.

manzu commented on 2022-04-26 10:54 (UTC)

Anyone having problems with root python installation after installing? Details here.

It was causing problems with pacman so I had to uninstall.