I've set up Git on Windows 7, as explained by help.github.com.
I can push to GitHub via TortoiseGit fine.
But when i try doing that via RubyMine, it fails.
Here's what i do:
1) Create a new project, fill in the README.
2) VCS → Import into Version Control → Share project on GitHub.
RubyMine asks for GitHub login/password and succesfully creates a new empty project on GitHub. But then it fails.
On my current PC, it freezes like this:
On my work PC, it produces an error message like the one in this thread:
But unlike the problem in that thread, i don't have SSH key issues (Git and TortoiseGit work fine with GitHub).
I've set up Putty Agent, but it won't help.
I've tried switching RubyMine to native SSH mode, but then it would do nothing (heil Windows!).
I'm currently using a workaround: commiting with RubyMine and pushing with TortoiseGit, but this is no good.
Please help me resolve the issue.
PS I've noticed that if i kill the Java process that RubyMine starts (might be the RubyMine SSH agent), then two things happen:
1) RubyMine complains that the connection had been hung unexpectedly;
2) RubyMine asks for an SSH key passprhase! Yay!
Unfortunately, i couldn't test it further because all RubyMine does while trying to push changes to GitHub is complaining "Nothing to push". :(
UPD Oleg Sukhodolsky has pointed me below to a solution by Noah Zucker. It worked like a charm!
Message was edited by: Andrey Mikhaylov (link to a solution added).