Questions tagged [asdf-vm]

Use this tag for questions relating to asdf, the extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more, via a simple plugin system.

asdf is an extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more, via a simple plugin system.

https://github.com/asdf-vm/asdf

98 questions
4
votes
1 answer

How to install earlier version of Phoenix with Mix CLI?

Can't install earlier Phoenix version (eg. 1.3.4) than latest stable (eg. 1.4.0) with mix archive.install command. Solution not achieved according to this thread: https://github.com/phoenixframework/phoenix/issues/2991 $ mix archive.install hex…
AR Rose
  • 361
  • 4
  • 17
4
votes
3 answers

asdf-erlang doesn't install man pages

I am using asdf + asdf-erlang as my version manager for Erlang. All seems to be working fine, except that typing erl -man mnesia results in No manual entry for mnesia. I have installed all dependencies mentioned on the asdf-erlang github page. I…
Maciek Talaska
  • 1,628
  • 1
  • 14
  • 22
3
votes
2 answers

On Apple Silicon: ruby-build: definition not found: 3.0.0

When I try to install the latest ruby (3.0.0), it fails with: ruby-build: definition not found: 3.0.0 Clearly, ruby 3 has been released more than a month ago, so I'm guessing the team is running into problems building/packaging it for Apple Silicon…
Micah Gideon Modell
  • 586
  • 1
  • 9
  • 24
3
votes
1 answer

dialyzer fails to recognise elixir functions with error :0:unknown_function

I have elixir 1.7.2 on my computer installed using asdf, both elixir and erlang otp 21. On my project mix file I have added the latest release candidate of dialyzer as instructed on dialyzer github {:dialyxir, "~> 1.0.0-rc.3", only: [:dev],…
Sigu Magwa
  • 546
  • 5
  • 18
3
votes
1 answer

tmux not loading asdf config

I'm having trouble loading the correct version of ruby/node when I create a tmux session. This doesn't happen if I use ruby/node without tmux $ tmux new-session -s servers $ which ruby /usr/bin/ruby Compared to normal terminal…
Amree
  • 2,890
  • 3
  • 30
  • 51
2
votes
3 answers

how to solve this python installation error with asdf?

I'm trying to install python with asdf, so I've tried everything and it's not working [lucaslinux@lucasPC ~]$ asdf install python latest python-build 3.11.2 /home/lucaslinux/.asdf/installs/python/3.11.2 Downloading Python-3.11.2.tar.xz... ->…
Lucas Lima
  • 21
  • 1
2
votes
2 answers

Don't use asdf if there is no .tool-versions file?

I installed node.js: brew install node I also installed asdf with node.js plugin. Is there any way to use node.js installed via Homebrew globally if there is no .tool-versions file? Right now I am getting an error if this file does not exist: No…
Azat S.
  • 21
  • 1
  • 6
2
votes
1 answer

asdf command not found when run a script remotely with ssh

Following script is on machine A, can run it locally without problem, #!/bin/bash source ~/.bashrc asdf --version But if we run the script remotely from machine B with following command, it can't find asdf command, $ssh user@A…
Makson Lee
  • 63
  • 9
2
votes
2 answers

macOS - Java 17 installed with asdf: No such file or directory when checking java version

I installed Java 17 version with asdf and it works without any problems in a Java project: ➜ ~ asdf list java adoptopenjdk-17.0.0+35 But when checking the java version with java -version in the terminal, it displays the following errors: ~ java…
belgoros
  • 3,590
  • 7
  • 38
  • 76
2
votes
1 answer

Can't compile anything with asdf due to error in Digest::SHA module

Tried to install ruby 3.0.3 on my MacOS but got this error at start: bash$ asdf install ruby 3.0.3 "$errmsg" is not exported by the Digest::SHA module Can't continue after import errors at /usr/local/bin/shasum line 24. BEGIN failed--compilation…
Fa11enAngel
  • 4,690
  • 2
  • 39
  • 38
2
votes
0 answers

Can not get asdf-direnv work in docker when building

I'm trying to use asdf-direnv in docker. Following the README of asdf-direnv, I make this Dockerfile FROM nvidia/cuda:10.2-devel-ubuntu18.04 RUN chsh -s /bin/bash SHELL ["/bin/bash", "-ic", "-l"] ENV DEBIAN_FRONTEND=noninteractive RUN apt-get…
Saddle Point
  • 3,074
  • 4
  • 23
  • 33
2
votes
1 answer

asdf erlang fails to compile on macOS

I'm attempting to install erlang 22.3.4.18 on macOS 11.3.1 via asdf. The asdf plugin for erlang. The OSX-specific instructions say to install autoconf and wxmac and I have. It also says the earliest version that will work is 22.3.1. So as far as I…
devleo
  • 483
  • 6
  • 13
2
votes
0 answers

How to install multiple python and pip versions on linux

I'm trying to install multiple python versions in linux, but asdf or pyenv get stuck with an error: ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? apt install libssl or apt install libssl1.0 didn't solved... I already…
paulogil2010
  • 135
  • 2
  • 12
2
votes
1 answer

local: -A: invalid option

I fail to install Node.js with asdf on a fresh macOS (M1 chip). How can I fix this? My environment seems to be very vanilla. $ asdf install nodejs 14.15.4 /Users/stefan/.asdf/plugins/nodejs/bin/../lib/utils.sh: line 35: local: -A: invalid…
wintermeyer
  • 8,178
  • 8
  • 39
  • 85
2
votes
2 answers

Cannot install asdf erlang on MAC OSX Mojave

I am trying to install Erlang in a Mac OS system with Mojave on it. However the installation hangs for no apparent reason: $ asdf install erlang 22.2.8 asdf_22.2.8 is not a kerl-managed Erlang/OTP installation The asdf_22.2.8 build has been…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266