summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-03-05 14:45:55 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-03-05 14:45:55 -0700
commit323dd952c851d2d643c61b7b22a29e0e4439b231 (patch)
tree7c2d77e583e46f14adac12f264803aad995e58c2 /.profile
parentb8b9379697d14961964c4afbfad1006ed900316c (diff)
Add ruby path
Diffstat (limited to '.profile')
-rw-r--r--.profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/.profile b/.profile
index 9b14976..5e5214a 100644
--- a/.profile
+++ b/.profile
@@ -19,6 +19,11 @@ export ZDOTDIR="$HOME/.config/zsh"
## Program settings.
export RANGER_LOAD_DEFAULT_RC=FALSE
+ ## Ruby
+if command -v ruby >/dev/null 2>&1; then
+ export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
+fi
+
## Tensorflow.
export TF_CPP_MIN_LOG_LEVEL="1"
# 0 = all messages are logged (default behavior)