Closed willus10245 closed 3 years ago
Just to make sure that this is a problem with this plugin, can you confirm that you don't have this issue with other plugins? Maybe you can try asdf plugin add R
and see what it does. That said, there is a good chance that there is still something wrong with the plugin under macOS since most of the testing has been under Linux (and the CI doesn't catch these errors because of #13 ). Therefore, this is a good opportunity to debug things.
Ok well I had some dependency issues trying to install R, so I wasn't able to get that one to work either. But I have several other plugins that I've used with no issues (elixir, ruby, python, rust, nodejs, postgres). Idk how the shims are generated, or if this matters, but one thing I noticed is that the julia install is nested one level deeper than the rest of my plugins. The rest all look like installs/<plugin>/<version>/(bin|lib|etc)
.
That's a good observation. I just pushed a potential fix to my fork. You can try it out by installing the plugin via a direct URL (you may have to remove the old one first):
asdf plugin add julia https://github.com/lassepe/asdf-julia
If that fix works for you, let me know. Then I'll open a PR here so that you can switch back to the main branch soon.
That worked with one small modification. On line 145 of install
, the wild card needs to be outside the quotes.
cp -R "$source_path"/* $install_path/
@lassepe if you want to open a pull request...go ahead. I don't have a Mac to test on anymore...so thank you for your help on this and thank you for reporting @willus10245 .
macOS 10.15.7
Nothing in
shims
related to julia. Runningasdf reshim julia
has no effect.~/.asdf/installs/julia
looks like: