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

$PATH not detected #68

Description

@sjoonk

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions