Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on m1 mac #3

Open
johnjelinek opened this issue May 19, 2022 · 4 comments · May be fixed by #4
Open

Cannot install on m1 mac #3

johnjelinek opened this issue May 19, 2022 · 4 comments · May be fixed by #4
Labels
bug Something isn't working

Comments

@johnjelinek
Copy link

johnjelinek commented May 19, 2022

Describe the bug

I ran asdf plugin update babashka and now I can't install babashka anymore.

Steps to reproduce

$ asdf install babashka latest
* Downloading babashka release 0.8.2...
~/.asdf/plugins/babashka/bin/../lib/utils.bash: line 52: arch: unbound variable
rm: ~/.asdf/installs/babashka/0.8.2/babashka-0.8.2.: No such file or directory
asdf-babashka: Expected ~/.asdf/installs/babashka/0.8.2/bin/bb to be executable.
asdf-babashka: An error ocurred while installing babashka 0.8.2.

Expected behavior

$ asdf install babashka 0.8.2
babashka 0.8.2 is already installed

Additional Context

$ uname -m
arm64
@johnjelinek johnjelinek added the bug Something isn't working label May 19, 2022
@johnjelinek
Copy link
Author

Regression commit: 37fc5db

@johnjelinek
Copy link
Author

This could be another way to tackle it: https://github.com/asdf-community/asdf-hashicorp#environment-variable-options, eg: an environment variable to force an arch ASDF_HASHICORP_OVERWRITE_ARCH

@borkdude
Copy link

There is a fork which solves this problem for now:

asdf plugin add babashka https://github.com/mkarp/asdf-babashka.git

@borkdude
Copy link

See #5 (comment):

Pitch is now maintaining a fork of this repo:

asdf plugin add babashka https://github.com/pitch-io/asdf-babashka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants