.zshrc: Add Ruby and Node.js stuff for Linux
This is mostly for doing DSpace Mirage 2 builds. I hard code these paths here so I don't need to ues horrible RVM or NVM.
This commit is contained in:
parent
86709372d4
commit
a4247542bf
11
.zshrc
11
.zshrc
@ -55,6 +55,17 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
|||||||
PATH=$PATH:/usr/local/opt/postgresql@9.5/bin
|
PATH=$PATH:/usr/local/opt/postgresql@9.5/bin
|
||||||
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
||||||
PATH=$PATH:~/.local/bin
|
PATH=$PATH:~/.local/bin
|
||||||
|
|
||||||
|
# Manually manage Ruby shit for DSpace build environment (anything is better than RVM)
|
||||||
|
# DSpace Mirage 2 build explicitly looks for GEM_HOME and GEM_PATH
|
||||||
|
export GEM_HOME=~/.gem/ruby/2.5.0
|
||||||
|
export GEM_PATH=~/.gem/ruby/2.5.0
|
||||||
|
PATH=$PATH:~/.gem/ruby/2.5.0/bin
|
||||||
|
|
||||||
|
# System Node.js with local "global" package prefix, for DSpace build environment:
|
||||||
|
# $ npm config set prefix ~/.node_modules
|
||||||
|
# $ npm install -g bower grunt grunt-cli
|
||||||
|
PATH=$PATH:~/.node_modules/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias ls='ls -F --color=auto'
|
alias ls='ls -F --color=auto'
|
||||||
|
Loading…
Reference in New Issue
Block a user