iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lots of updates, some t11 stuff
[distro-setup]
/
filesystem
/
etc
/
profile.d
/
environment.sh
diff --git
a/filesystem/etc/profile.d/environment.sh
b/filesystem/etc/profile.d/environment.sh
index d5c7e57f13f1fa5230270124bd1009cdf4de441a..80a1d5ae911660b9a799199b18acbeb9c0dbc206 100644
(file)
--- a/
filesystem/etc/profile.d/environment.sh
+++ b/
filesystem/etc/profile.d/environment.sh
@@
-10,7
+10,8
@@
if [ -f $HOME/path-add-function ]; then
path-add --end /snap/bin
- for p in $HOME/.gem/ruby/*/bin; do
+ # ~/.local is newer, eg ruby 3.0+
+ for p in $HOME/.gem/ruby/*/bin $HOME/.local/share/gem/ruby/*/bin; do
path-add --ifexists --end $p
done