git-deploy icon indicating copy to clipboard operation
git-deploy copied to clipboard

$PATH not detected

Open sjoonk opened this issue 11 years ago • 2 comments

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?

sjoonk avatar Nov 24 '14 14:11 sjoonk

Not sure this repo is maintained anymore. Fork it and fix the bug :)

hadifarnoud avatar Nov 26 '14 08:11 hadifarnoud

git push is a git internal, git deploy * are custom methods.

koenpunt avatar Nov 26 '14 10:11 koenpunt