dev/ruby: remove GEM_PATH, add $GEM_HOME/bin to PATH
This commit is contained in:
parent
aac9a6add3
commit
ece4123f77
|
@ -1,11 +1,10 @@
|
||||||
export GEMRC="$XDG_CONFIG_HOME/gems/rc:$GEMRC"
|
export GEMRC="$XDG_CONFIG_HOME/gems/rc:$GEMRC"
|
||||||
export GEM_HOME="$XDG_DATA_HOME/gems"
|
export GEM_HOME="$XDG_DATA_HOME/gems"
|
||||||
export GEM_PATH="$XDG_BIN_HOME"
|
|
||||||
export GEM_SPEC_CACHE="$XDG_CACHE_HOME/gem/specs"
|
export GEM_SPEC_CACHE="$XDG_CACHE_HOME/gem/specs"
|
||||||
export IRBRC="$XDG_CONFIG_HOME/irb/rc"
|
export IRBRC="$XDG_CONFIG_HOME/irb/rc"
|
||||||
export PRYRC="$XDG_CONFIG_HOME/pry/rc"
|
export PRYRC="$XDG_CONFIG_HOME/pry/rc"
|
||||||
export SPEC_OPTS="--color --order random"
|
export SPEC_OPTS="--color --order random"
|
||||||
|
|
||||||
export RBENV_ROOT="$XDG_DATA_HOME/rbenv"
|
export RBENV_ROOT="$XDG_DATA_HOME/rbenv"
|
||||||
path=( $RBENV_ROOT/bin $path )
|
path=( $RBENV_ROOT/bin $GEM_HOME/bin $path )
|
||||||
_cache rbenv init - --no-rehash
|
_cache rbenv init - --no-rehash
|
||||||
|
|
Loading…
Reference in a new issue