1
0
mirror of https://github.com/Adam-Ant/dotfiles synced 2024-12-20 11:34:35 +00:00

Add support for ruby gems to my path

This commit is contained in:
Adam Dodman 2017-10-05 15:48:24 +01:00
parent 2a928b38ab
commit db5462b842

View File

@ -16,7 +16,7 @@ alias dbl='docker build'
alias dbl.='docker build .'
alias drun='docker run -ti'
alias dkl='docker kill'
alias dalpine='docker run -ti --rm alpine:3.5 /bin/sh'
alias dalpine='docker run -ti --rm alpine:3.6 /bin/sh'
alias drm-stopped='docker rm -v $(docker ps -a -q -f status=exited)'
alias drmi-untag='docker rmi $(docker images -f "dangling=true" -q)'
dsh() {
@ -37,3 +37,6 @@ alias beet-restart="eval $(docker-machine env DockerOther | sed -n 's/export\s*/
export WORKON_HOME=$HOME/.virtualenvs # optional
export PROJECT_HOME=$HOME/Sync/Programming/Python # optional
source /usr/bin/virtualenvwrapper.sh
#Ruby. Yay...
export PATH="$PATH:$(ruby -rubygems -e 'puts Gem.user_dir')/bin"