-
Notifications
You must be signed in to change notification settings - Fork 5
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
"bundled" version isn't compatible with Intel Macs (arm64 executable) #194
Comments
My first thought was that the Intel Mac release of air is busted, but the fact that you say it works if you use So that instead seems to imply that your What does this return for you on your intel mac?
PS thanks for the early testing! |
When I install the CLI on Mac intel I get:
Yes it seems that the bundled version is for arm64:
So the error makes sense. |
Perfect that should give us enough to go off, thanks! |
Ah of course, we run both mac builds on air/.github/workflows/release-vscode.yml Lines 28 to 33 in dde788f
So of course our installer is going to try and pull the ARM version even when we are attempting to bundle the x86 version air/.github/workflows/release-vscode.yml Line 49 in dde788f
|
See also axodotdev/cargo-dist#1720 |
Looks like we could alternatively download and unpack https://github.com/posit-dev/air/releases/latest/download/air-x86_64-apple-darwin.tar.gz ourselves (and if we do it for one OS we may as well do it for all of them for consistency? and not use the installer script directly?) |
I installed air on 2 different machines, a Mac M2 (a week ago) and an imac intel (today). For the latter, I had to do extra steps to make it start, described below.
The error message I had
For the Intel Mac this is what I have:
with Positron:
I installed the cli 0.2.0 and downloaded the Air - R Language Support extension from the market place.
In my settings I need to do this to get it start:
Specifically the
"air.executableLocation": "environment"
variable.I also observed the same issue on a more recent Positron build (159).
Fun fact, I also updated the M2 installation with the new air cli and the market place extension released today. I can keep the executable location as
bundled
. I use the same build release for Positron: https://github.com/posit-dev/positron/releases/tag/2025.01.0-152The text was updated successfully, but these errors were encountered: