add rbenv to path and track .gemrc
This commit is contained in:
parent
64de0f409e
commit
b33054e59a
@ -228,6 +228,12 @@ fi
|
||||
# ruby
|
||||
if command -v ruby > /dev/null && command -v gem > /dev/null; then
|
||||
appendpath "$(ruby -r rubygems -e 'puts Gem.user_dir')/bin"
|
||||
|
||||
# rbenv shim
|
||||
if [ -d "$HOME/.rbenv/bin" ]; then
|
||||
appendpath "$HOME/.rbenv/bin"
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# go
|
||||
|
||||
1
files/gem/.gemrc
Normal file
1
files/gem/.gemrc
Normal file
@ -0,0 +1 @@
|
||||
gem: --no-document
|
||||
Loading…
x
Reference in New Issue
Block a user