Questions tagged [asdf]

ASDF is a tool for describing how source files are organized: what depends on which and when. It is roughly what Common Lisp hackers use to build software where C hackers would use say GNU Make. ASDF stands for Another System Definition Facility, in the continuity of the Lisp DEFSYSTEM of yore.

204 questions
0
votes
0 answers

Default packages for all versions in asdf

On all versions of node I use pm2, yarn, and a few others, and on PHP, I use xdebug, LDAP, and others is there a hook or file where I can define all the packages for the plugin to be installed when I install a new version of nodejs or PHP? I would…
Zach Robichaud
  • 183
  • 1
  • 7
0
votes
0 answers

asdf ruby install 3.1.2?

I have ruby as well as asdf installed on my macOS and the following error(?) comes up sporadically. I simply ignore the message and continue my work but is there a solution to this? When I type "ruby -v" it gives "ruby 3.1.2p20". When I go to my…
hank
  • 33
  • 1
  • 4
0
votes
1 answer

asdf packages installed by a plugin (example golang)

I'm not sure how this works, but I have this scenario: Installed asdf; Installed plugin golang; Installed golang 1.20.4; Then installed a go package using go install moul.io/assh/v2@latest; This package gave me the assh shim binary; Now I have…
Vitor Jr
  • 7
  • 2
0
votes
1 answer

asdf cant install node js

i am starting to learn about backend and i needed to install somethings, i followed all the steps but when i try to install nodejs with asdf this error appears, and i dont know what to do, cant install any node versions node version 18.16.0 asdf…
0
votes
0 answers

Force compile nodejs with nodebuild

I am trying to compile nodejs (20.0.0) using nodebuild in asdf. Link: https://github.com/asdf-vm/asdf-nodejs Command line usage: asdf nodejs nodebuild --definitions unsure of the CLI usage.
Ar034
  • 31
  • 4
0
votes
1 answer

Installing asdf: Path doesn't seem to be recognized?

I'm trying to install asdf on Debian 11. After install, I still get this error: bash: asdf: command not found Suspect: I'm sourcing something incorrectly. Here's the script I'm using to install with: #!/bin/bash # Install prerequisites sudo…
Emily
  • 2,129
  • 3
  • 18
  • 43
0
votes
0 answers

Ruby 3.2.1 Installation Issues on a Mac (Shell Integration is not Enabled)

When trying to switch between ruby versions on my Mac, I get a "Shell Integration is not enabled. Please ensure you source asdf in your shell" message and doesnt allow me to switch to the latest version that I've already installed (3.2.1). How can I…
0
votes
2 answers

Cannot install ruby with asdf on ubuntu

I encountered an error when installing ruby on my Kubuntu 22.04 using asdf. When I ran this code asdf install ruby 2.6.4 The terminal show this and stopped forever: Downloading ruby-build... To follow progress, use 'tail -f…
lelouvincx
  • 13
  • 2
0
votes
1 answer

Could not run installed asdf plugins (elixir/node) even if the plugins has been installed

I've installed asdf successfully and I could install the plugin with asdf. but when it is time to run the plugin, the plugin itself is unavailable from the terminal even though the asdf list told me that the plugin (package) is in there…
Amir
  • 86
  • 7
0
votes
1 answer

Find where a specific Ruby version is installed

On Mac, I used to have rbenv as Ruby version manager but recently switched to asdf. I want to create a Ruby on Rails 7.0.4 but it uses an outdated version and I'd like to locate it. $ rails new app "Rails 7 requires Ruby 2.7.0 or newer. …
Sumak
  • 927
  • 7
  • 21
0
votes
0 answers

Why Omnisharp doesnt find a valid .Net SDK path installed by ASDF-VM?

My Problem Ok... I was installed .Net 6 by asdf-vm, and I used this commands above to put DOTNET_ROOT on PATH variable... Before I explain my problem, I use the follow methods to open my projects on VSCode: Open VSCode by Application List, then I…
0
votes
4 answers

importlib.metadata error on pre-commit tool

I have installed pre-commit 3.0.1 via asdf. When I try to run pre-commit -v throwing the following error Traceback (most recent call last): File "/Users/san/.cache/pre-commit-zipapp/6Bkef3U7os33XPapd4VZ7HEfyUexbeBTjOn51afz0r8/python", line 47, in…
SANN3
  • 9,459
  • 6
  • 61
  • 97
0
votes
1 answer

One function refuses to export, while other functions export?

Yesterday, I asked a question about creating libraries with common lisp. my lib: ;in my-lib.asd (asdf:defsystem :my-lib :depends-on (:cl-json :clsql :clsql-sqlite3) :components ((:file "package") (:file "functions") …
Vinn
  • 1,030
  • 5
  • 13
0
votes
1 answer

define setup for (not yet loaded) packages in the config file

Is there any standard way in Common Lisp (+common libraries today) how to put default settings for not-yet-loaded libraries/systems (that are from public sources and cannot be reasonably modified) in the config file such as .sbclrc? For example, I…
Tomas Zellerin
  • 366
  • 1
  • 7
0
votes
0 answers

failed to compile testmain package - compile, no such file

I'm new to Go programming and trying to set up the BDD framework Godog. I have extracted the Linux binary from the Github releases page and placed it on my $PATH. When I run it, I get the following error: Error: failed to compile testmain package:…
Mark Francis
  • 137
  • 10