Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

$PATH not detected #68

Open
sjoonk opened this issue Nov 24, 2014 · 2 comments
Open

$PATH not detected #68

sjoonk opened this issue Nov 24, 2014 · 2 comments

Comments

@sjoonk
Copy link

sjoonk commented Nov 24, 2014

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?

@hadifarnoud
Copy link

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

@koenpunt
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants