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
0
votes
0 answers

Using asdf version of Python with Spyder

I'm trying to get setup with Spyder and use a version of Python managed by the asdf version manager. My Python interpreter is set in Spyder preference to: /Users//.asdf/installs/python/3.10.8/bin/python3.10 and my pip version as reported…
purpletonic
  • 1,858
  • 2
  • 18
  • 29
0
votes
1 answer

Add path before asdf (particularly pipx, respectively ~/.local/bin)

I'm using asdf-vm on my MacBook in an oh-my-zsh environment. It works pretty well, except for one thing. I have a bunch of python based tools which I don't want to be managed by asdf. They are installed via pipx which provides its own virtual…
Hendrik Wiese
  • 2,010
  • 3
  • 22
  • 49
0
votes
1 answer

Why is ruby plugin version 2.7.6 missing the pod command?

It seems that the ruby plugin 2.7.6 is missing the pod command. Is this an issue or error or is there a specific reason why about that? At first I was thinking that asdf reshim ruby doesn't work, but then I realized that the pod command is actually…
shadowsheep
  • 14,048
  • 3
  • 67
  • 77
0
votes
1 answer

How to manage .tool-versions for current directory without storing it in current directory

I've come to love what asdf does for my onboarding story in projects that i have control over. However for projects where there is a strange mandate that it must use nvm and must not migrate to asdf for whatever reason, i'd like a way to utilise…
airtonix
  • 4,772
  • 2
  • 38
  • 36
0
votes
0 answers

IntelliJ won't detect Ruby interpreter installed using asdf-vm whatsoever

Pretty weird stuff. I have installed latest Ruby using asdf-vm. All works fine with the terminal - Ruby is being detected, I am able to install gems, and every create a Rails app and open it using VSCode. Somehow, IntelliJ is detecting Ruby in…
hawkeyes21
  • 47
  • 1
  • 4
0
votes
1 answer

asdf fails node install with: permission denied error, how to grant it permission?

When I try to install a node version with asdf-vm, I get the following error message: Trying to update node-build... ok mkdir: cannot set permissions '/tmp': Permission denied node-build: TMPDIR=/tmp is set to a non-accessible location
0
votes
2 answers

create-react-app doesn't work as expected

I have the following setup in my system %asdf shim-versions create-react-app nodejs 12.16.3 % asdf current nodejs nodejs 14.17.6 /Users/user/.tool-versions But when I run npm to create react-app as follows get the following…
HP77
  • 1
  • 1
0
votes
1 answer

VSCode asdf-vm command no such file or directory

Specs VSCode 1.63.2 Homebrew 3.3.10 asdf 0.9.0 MacOS Monterey Problem I installed asdf via Homebrew as per doc http://asdf-vm.com/guide/getting-started.html#_3-install-asdf The asdf command works well in my iTerm. However, it didn't work when…
deerawan
  • 8,002
  • 5
  • 42
  • 51
0
votes
1 answer

dotnet-core command not found

I am setting up .Net core via ASDF v0.9.0 on Mac, after installing dotnet-core plugin and setting a version (3.1.416) dotnet is still not found zsh: command not found: dotnet-core Here is my .zshrc alias rbrew="/usr/local/bin/brew" .…
Beppe C
  • 11,256
  • 2
  • 19
  • 41
0
votes
1 answer

How to link ruby-v to asdf?

I am installing ruby using asdf and I encounter the issue shown below: $ asdf list ruby 3.0.2 $ ruby -v Command 'ruby' not found, but can be installed with: sudo apt install ruby How to link the ruby-v to asdf?
michelle
  • 49
  • 1
  • 6
0
votes
1 answer

scala claims JAVA_HOME is incorrect

System is Ubuntu 20 on WSL2. asdf version: 0.8.1 installed with brew As seen below, I can execute java and sbt, but scala claims the JAVA_HOME is incorrect. ~> java --version openjdk 17 2021-09-14 OpenJDK Runtime Environment (build…
Craig Treptow
  • 834
  • 7
  • 19
0
votes
1 answer

Cronjobs for Rails stopped working after switching to asdf

I recently changed from rvm to asdf. Since then, I can't get cronjobs to run. crontab -l * * * * * /bin/bash -l -c 'cd /var/www/jobs/code && RAILS_ENV=production bundle exec rake cron_test' >> /tmp/cron_test_output 2>&1 /tmp/cron_error gives me…
smilingfrog
  • 376
  • 3
  • 14
0
votes
1 answer

how to use asdf-vm on production environment

I need to set up my java application on the server. is there any way to set up the java environment on production which is provided by asdf?
Lakshan Dissanayake
  • 521
  • 1
  • 4
  • 18
0
votes
2 answers

Cannot install jruby

OS: macOS Catalina (10.15.7) Shell: zsh asdf: v.0.8.0 In my .zshrc: export JDK_HOME=/Users/Ctreptow/.asdf/shims export JAVA_HOME=${JDK_HOME} export PATH=$PATH:${JAVA_HOME} . $(brew --prefix asdf)/asdf.sh At a prompt: work/proj(master)> which…
Craig Treptow
  • 834
  • 7
  • 19
0
votes
1 answer

Project selected ruby version does not match ruby -v using asdf-ruby

I switched to a new computer and set up a whole development environment from start. One of the changes was trying to use asdf instead of rvm. Sadly when trying to run rails s or rails c on one of the projects I have im running into: Your Ruby…
kkp
  • 436
  • 4
  • 11