$PATH not detected
I installed ruby to user's home directory using ruby-install. I set up the $PATH info to my .bashrc and i add sourcing .bashrc to my .bash_profile as follows:
(in .bashrc)
export PATH=~/.rubies/default/bin:$PATH
(in .bash_profile)
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
And then when i run git push on my local machine, it seems that any script not triggered. $PATH does not affected.
Actually when i run gut deploy rerun instead of git push, it works well. The $PATH applied successfully.
Is there any difference between git push and git deploy rerun?
Why not work bashrc and bash_profile when running git push?
Not sure this repo is maintained anymore. Fork it and fix the bug :)
git push is a git internal, git deploy * are custom methods.