Cloning repository from github

Hello,
I recently have been trying to clone a repository from github on to my machine through RubyMine. I have setup my github setting in the RubyMine preferences and have clicked test, says successful. However when I try to clone the background process just sits there thinking. I was able to clone from command line and using GitMac with now problems. Any help would be greatly appreciated.

Thanks,

0
11 comments
Avatar
Permanently deleted user

Hello Chris,

Please ensure that you have configured your ssh keys properly to work with github. You should register your public ssh key.

Regards,
Oleg

0
Avatar
Permanently deleted user

I believe I have. Like I said I successfully added my public key to github and am able to clone through terminal. Is there another way to register the ssh key?

Thanks,

0
Avatar
Permanently deleted user

Ok so I have done some testing around cloning the repository from github and I think I have found something. I noticed that when RubyMine tries to clone the repo it is pulling from https://github.com/X0nic/uppers.git. With that said I tried cloning from the same source in terminal and noticed that it prompted me for my username and password. Once I entered in my credentials the clone started and finished with no problems.

I think RubyMine is waiting for the username and password however shouldn't that already be setup in the GitHub section of the preferences?

Thanks,

0
Avatar
Permanently deleted user

Ah, I see the problem.

Unfortunally RubyMine's git intregration doesn't fully support https authentification.
Here is an issue: http://youtrack.jetbrains.net/issue/IDEA-55298
Feel free to vote, comment and get notified once it is fixed.

Sorry for such inconveniences.

Regards,
Oleg

0
Avatar
Permanently deleted user

Hi,
Thanks for the heads up, is there a different way to authenticate without https? RubyMine just seems to use that be default.

Thanks,

0
Avatar
Permanently deleted user

Hello Chris,

This functionality is scheduled to be implemented in April, unfortunally github doesn't support http, so the only way to work with github is to fork the project and work with it using git protocol, which is fully supported.

Regards,
Oleg

0
Avatar
Permanently deleted user

Hi Oleg,
Thanks for your response. Is there no way to clone it from github using the ssh address through RubyMine?

0
Avatar
Permanently deleted user

Hello Chris,

Unfortunally you cannot do this in the moment. As a workaround you can clone repository using command line, and open it in RubyMine.
I've created an issue: http://youtrack.jetbrains.net/issue/IDEA-66991
Feel free to vote, comment and track progress.

Regards,
Oleg

0
Avatar
Permanently deleted user

Ok thanks very much for you help and explainations

0
Avatar
Permanently deleted user

Hi, Chris,

Recently I've fixed at least some part of this problem: now you can use ssh access if you can push to the repository.
This fix will be included in coming RubyMine 3.1.1 release.

Regards,
Oleg

0
Avatar
Permanently deleted user

Hi Oleg,
Thats great news, thanks again.

0

Please sign in to leave a comment.