### Bug description

Quarto 1.0.37 returns the following error when trying the sample *.qmd available from https://quarto.org/docs/computations/julia.html

`[Errno 2] No such file or directory: '/Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia'
`

on a macOs, where Julia has been installed with JuliaUp and where the latter has been installed with Home-brew.
Julia's executable (/usr/local/bin/julia) is indeed in the PATH and it correctly points to JuliaUp.

`
/usr/local/bin/julia -> ../Cellar/juliaup/1.6.12/bin/Julia
`

Note that JuliaUp is soon becoming the standard/preferred method of installing Julia.


### `quarto check` Output

```bash
[✓] Checking Quarto installation......OK
      Version: 1.0.37
      Path: /Applications/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.13
      Path: /usr/local/opt/python@3.9/bin/python3.9
      Jupyter: 4.7.1
      Kernels: julia-1.6, julia-1.7, python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/
```

### `quarto tools check` Output

```bash
[✓] Inspecting tools

Tool         Status            Installed     Latest
chromium     Not installed     ---           869685
tinytex      Not installed     ---           v2022.08
```

### Checklist

- [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read?
- [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area?
- [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area?
- [ ] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well.
- [ ] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
2022-08-02T14:50:39Z
mgiugliano
bug
closed
Unexpected Julia path (macOs, using brew and juliaup)
https://github.com/quarto-dev/quarto-cli/issues/1643