Closed adrhill closed 5 months ago
This should be helped/partially solved by #844, but I think that conversation got a bit side-tracked (talking about XDG compliance in Julia itself, again :facepalm:).
Even with #844 addressed, I still find it surprising that the "manual installation option" tries to open any shell config files. Maybe this is a bug?
Yes, that is a bug, fix is coming with https://github.com/JuliaLang/juliaup/pull/943.
That is only the first part to the broader problem, next I need to output better error messages when these files are not editable and give some instructions on what to do.
Closed by #943.
Problem
On many systems, having programs like juliaup modify the
PATH
in a.bash_profile
or.zshrc
config file is not a viable option.Immutable or unreadable configuration files are the source of many crash reports, e.g. the
"Failed to open file"
error (#826, #864, #874, #891, #918, ...).In #796, @davidanthoff mentioned
Feature request
juliaup should provide an option for advanced users where it simply tells them what needs to be manually added to their
PATH
.Such an option seemingly exists, but doesn't appear to work (#875), still running into the
"Failed to open file"
error:This has also been observed in #920:
Related discussions: #796, #920, #875