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

MISE_ARCH #405

Closed
jdx opened this issue Mar 25, 2023 · 4 comments · Fixed by #3490
Closed

MISE_ARCH #405

jdx opened this issue Mar 25, 2023 · 4 comments · Fixed by #3490

Comments

@jdx
Copy link
Owner

jdx commented Mar 25, 2023

We should have a MISE_ARCH env var which can be used to execute plugin scripts with arch -x86_64. Doing this will allow installing/running plugins in rosetta on arm macs.

Currently this can be done but it's a bit clunky:

mkdir ~/.local/mise-x86
wget https://mise.jdx.dev/mise-latest-macos-x86 ~/.local/mise-x86
~/.local/mise-x86 i java
@jdx jdx mentioned this issue Mar 25, 2023
3 tasks
@jacobat
Copy link

jacobat commented Aug 10, 2023

I have this exact problem. Would setting MISE_DATA_DIR dependent on the architecture currently running be a possibility?

@jdx jdx changed the title RTX_ARCH MISE_ARCH May 15, 2024
@jdx
Copy link
Owner Author

jdx commented May 15, 2024

sorry for taking a year to respond but I think that's a good callout, it probably should default to ~/.local/share/mise-x86_64 or something

@jacobat
Copy link

jacobat commented May 15, 2024

FWIW, I've been running with an architecture dependent MISE_DATA_DIR for a long time now without issues. Mostly using it for development with Ruby.

jdx added a commit that referenced this issue Dec 12, 2024
jdx added a commit that referenced this issue Dec 12, 2024
@jdx jdx closed this as completed in #3490 Dec 12, 2024
@jdx jdx closed this as completed in 59b6788 Dec 12, 2024
@teppeis
Copy link

teppeis commented Dec 14, 2024

@jdx Thank you! Can you update this document? https://mise.jdx.dev/tips-and-tricks.html#macos-rosetta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants