I want ./bin as first element in my PATH variable. I have this is my bashrc.
export PATH=./bin:~/bin:$PATH
However the PATH is prepended with the bin of the current gemset by RVM... So rvm is prepending my path. Is there any solution for this?
I want ./bin as first element in my PATH variable. I have this is my bashrc.
export PATH=./bin:~/bin:$PATH
However the PATH is prepended with the bin of the current gemset by RVM... So rvm is prepending my path. Is there any solution for this?
Finally since my dotfiles were very well organized I need to put the PATH prepend right after invoking the rvm utility scripts:
# ----------------------------------- RVM -----------------------------------
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
[[ -r $rvm_path/scripts/completion ]] && . $rvm_path/scripts/completion
export PATH=./bin:$PATH