Files
dotfiles/bashrc.d/gem.bash
2025-04-08 09:47:32 +01:00

7 lines
174 B
Bash

GEM=$(which gem)
if [ -n "$GEM" ] ; then
RUBY_VERSION=$(ruby --version | awk '{print $2}')
export GEM_HOME="$HOME/.cache/gem/$RUBY_VERSION/"
addpath "$GEM_HOME/bin"
fi