Skip to main content

Add a note about Ruby paths

ID
2d9a411
date
2024-06-02 09:07:12+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
f0a8295
message
Add a note about Ruby paths
changed files
1 file, 8 additions

Changed files

config.fish (7095) → config.fish (7356)

diff --git a/config.fish b/config.fish
index b8e1371..9f21bc2 100644
--- a/config.fish
+++ b/config.fish
@@ -65,6 +65,14 @@ prepend_to_path ~/repos/flapi.sh
 # Path for Rust
 prepend_to_path ~/.cargo/bin
 
+# Paths for Ruby and bundler
+#
+# These paths are different for Intel/Apple Silicon Macs.
+prepend_to_path /opt/homebrew/bin
+prepend_to_path /opt/homebrew/opt/ruby/bin
+prepend_to_path /opt/homebrew/lib/ruby/gems/3.3.0/bin
+prepend_to_path /usr/local/opt/ruby/bin
+
 # Path for Python tools installed with pipx
 prepend_to_path ~/.local/bin