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
2
votes
1 answer

Installing Erlang via asdf on Ubuntu fails after "Downloading kerl"

Background I have a Ubuntu and I am trying to install Erlang 22.2.8 via the asdf-erlang plugin. No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal Problem In fact, I want to…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
2
votes
0 answers

Should the .tool-versions file of asdf go into .gitignore?

I was wondering what best practice is here? The Elixir version is defined in the mix.exs anyways and different developers might want to use different OTP versions (compatible with the Elixir version) or different minor Elixir versions. On the other…
Ole Spaarmann
  • 15,845
  • 27
  • 98
  • 160
2
votes
1 answer

Poetry package `ImportError` even though package is already present

I'm using poetry for dependency management. I have poetry.lock file in my repository & I used it to install the dependencies using poetry install. It created a virtualenv and is activated. # poetry env list python-tricks-sYsxS0XS-py3.7…
Aditya Mishra
  • 1,687
  • 2
  • 15
  • 24
2
votes
1 answer

How to upgrade elixir version on Ubuntu 18/19

I have these installed: $ asdf list elixir 1.6.6 erlang 20.3.8 but for the life of me I cannot figure out how to upgrade my elixir version to 2.x. I am on Ubuntu, can anyone help?
user13307220
2
votes
1 answer

Does asdf provide a symbolic link shim to a package's directory?

asdf-vm provides symbolic links to a package's currently selected executable via /shims, like .asdf/shims/. Does it provide a link to the currently selected package directory (which can be found via asdf where )? If not, could I…
jayjw
  • 677
  • 7
  • 12
2
votes
3 answers

Where does asdf install postgres

I'd like to see to confirm that I don't have multiple versions in the same place, so wanted to know on a Mac where does asdf store postgres. Where does it look when I hit pg_ctl start?
stackjlei
  • 9,485
  • 18
  • 65
  • 113
2
votes
3 answers

install erlang with asdf without jinterface

I'm trying to install Erlang (and later Elixir) with asdf however I'm getting an error regarding jinterface as the install process seems to freeze: ➜ ~ asdf install erlang 22.1.1 Downloading OTP-22.1.1.tar.gz to…
Loading...
  • 863
  • 9
  • 21
2
votes
1 answer

How to set env variables using ASDF in a Rails project

Rbenv uses rbenv-vars to specify per-application environment variables in Rails. Most version managers read the .env file in every project for the environment variables. However, I can't find a way to make asdf-vm and asdf-ruby to read the .env file…
Kaka Ruto
  • 4,581
  • 1
  • 31
  • 39
2
votes
2 answers

How to get asdf and rvm to co-exist

Is it possible to have asdf and rvm coexist? If so, how do you set it up? I made a test project to try out asdf but it seems that's affecting another existing project that's managed by rvm. When I run rails I'm getting: asdf: No version set for…
goterpsgo
  • 307
  • 2
  • 18
2
votes
1 answer

Connection refused when running mix ecto.setup command, packages installed with asdf

I'm trying to follow the GraphQL tutorial. I'm used asdf to install the erlang, elixir and postgres. I'm using a macbook. When I get to the step to run mix ecto.setup, I'm getting the following error: 20:44:47.318 [error] GenServer #PID<0.1605.0>…
Hatsumi
  • 1,948
  • 3
  • 13
  • 28
2
votes
2 answers

Using Elixir from iex open command with Atom Editor

I want to open files from iex> open() with Atom or vim. I tried to put on my ~/.zshrc: export ELIXIR_EDITOR="atom +__LINE__ __FILE__" or export ELIXIR_EDITOR="/usr/local/bin/atom +__LINE__ __FILE__" or export ELIXIR_EDITOR="vim +__LINE__…
rld
  • 2,603
  • 2
  • 25
  • 39
2
votes
1 answer

Cannot Install Erlang with openssl via asdf (Ubuntu 18.04.1)

I am on Ubuntu 18.04.1. Whenever I try to install any version of erlang via asdf, I get the following message: APPLICATIONS DISABLED (See: /home/josh/.asdf/plugins/erlang/kerl-home/builds/asdf_18.0/otp_build_18.0.log) * crypto : No usable…
Joshua E
  • 314
  • 1
  • 2
  • 10
2
votes
2 answers

asdf doesn't install nodejs

Any help please. I'm not sure what I did, but I can't install or run nodejs using asdf. $ asdf install nodejs 6.12.3 nodejs 6.12.3 is already installed $ node nodejs 6.9.4 not installed $ which node /home/sam/.asdf/shims/node I have no clue. It…
Sam
  • 514
  • 1
  • 7
  • 15
2
votes
1 answer

Could not find the required 'adsf' gem, which is necessary for the view command

I was recently working on a project in nanoc and installed bundler so I could use guard to watch the project directory. Now when I run nanoc view the webserver doesn't start up displaying the following error instead: $ nanoc view Could not find the…
leeand00
  • 25,510
  • 39
  • 140
  • 297
1
vote
2 answers

Cannot execute or install things with asdf-vm on NixOS

After moving to NixOS from Arch Linux, I installed asdf-vm (using git; commit 0adc6c1). However, I noticed that installing any rust binary fails: $ LC_ALL=C asdf install rust stable info: downloading installer main: line 494:…
shackra
  • 277
  • 3
  • 16
  • 56