commit a12f977fbff7d08b7fe23da62b371f0afd6c05a7
parent a206177efc4e0c9d67f117c9dcebeb16832853a9
Author: Chris Bracken <chris@bracken.jp>
Date: Sat, 15 Jul 2017 22:54:00 -0700
Add ruby gems bin dir to PATH
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/.paths b/.paths
@@ -36,6 +36,11 @@ if [[ "$(uname)" == "Darwin" ]]; then
path_prepend "$HOME/.homebrew/bin"
fi
+# Ruby gems
+if which ruby >/dev/null && which gem >/dev/null; then
+ path_prepend "$(ruby -rubygems -e 'puts Gem.user_dir')/bin"
+fi
+
# Fuchsia/Flutter
path_prepend "$GOMA_DIR"
path_prepend "$HOME/src/depot_tools"