When I try to push to my GitHub repos, I have found that
git push origin master just sits there indefinitely.
How did this happen and how do I solve it?
Let's begin.
My configuration is: Windows XP, RailsInstaller (Ruby 1.9, Rails 3.2), Emacs 23.3.
Some symptoms: I am running a Windows shell from Emacs with
Meta-x shell and I try to push to GitHub.but the command just sits there indefinitely and
ssh is not found so I can verify I am using the correct RSA public key.
The cause: The shell environment is not including the RailsInstaller path modifications.
(Sub-optimal) solution: Run the Git Bash shell found in
Start > Programs > Rails > RailsInstaller and push from there.
A proper solution would be to include the environment variables that the RailsInstaller provides but, taking a look at the "Command Prompt with Ruby and Rails" shortcut found in the same location as Git Bash, it looks like I need to do more than some key punches as running Emacs from that shortcut is not useful either.
I'll try to keep this problem in mind if I find a solution in the future so I can update this post.
Bye!