将RubyMine与GitHub for Windows集成 [英] Integrating RubyMine with GitHub for Windows

查看:94
本文介绍了将RubyMine与GitHub for Windows集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

学习Ruby和Rails,并且在Windows上使用RubyMine作为我的IDE。 GitHub刚刚发布了 Windows版GitHub 。我安装了它,它看起来像一个不错的界面。但是,它似乎没有安装任何类似于RubyMine的git.exe来接收和使用。所以RubyMine声称它无法找到git,而git(以GitHub for Windows的形式)却轻松地忽略了RubyMine。



当然,我一直在寻找GitHub网站上的信息 - 什么都没有。我需要为RubyMine安装oldgit客户端吗?

GitHub 发行版与 PortableGit 捆绑在一起,它解压到 AppData \Local\GitHub 中,您可以使用 git RubyMine中的客户端。



安装的 GitHub 提供的 git 可执行文件的完整路径,可用于RubyMine我的系统是:

  c:\ Users \< user> \AppData\Local\GitHub\ PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\bin\git.exe 

请注意,它可能是一些随机散列在路径中,所以它可能与您的系统不同。



如果您不想挖掘此可执行文件,只需安装并使用 msysgit ,应该没有区别,实际上版本curre由 GitHub PortableGit 报告的是:

git 1.7.10.msysgit.1 撰写此答案的时刻可用的最新 msysgit git版本1.7.11.msysgit.1 。因此,至少现在,旧命令行客户端比新GitHub提供的客户端更新。


I am just learning Ruby and Rails, and am using RubyMine on Windows as my IDE. GitHub has just released GitHub for Windows. I installed it, and it seems like a nice interface. However, it does not seem to have installed anything like a git.exe for RubyMine to pick up and work with. So RubyMine whines that it can't find git, and git (in the form of GitHub for Windows) sits there blithely ignoring RubyMine.

Naturally, I've looked for information on the GitHub site - nothing. Am I going to have to install the "old" git client for RubyMine to use?

解决方案

GitHub distribution is bundled with PortableGit which is unpacked into AppData\Local\GitHub and you can use this git client in RubyMine.

Full path to the git executable provided by GitHub installation that can be used in RubyMine on my system is:

c:\Users\<user>\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\bin\git.exe

Note that it's probably some random hash in the path so it may be different on your system.

If you don't want to dig for this executable, just install and use msysgit, there should be no difference, in fact the version currently reported by GitHub PortableGit is:

git version 1.7.10.msysgit.1 vs git version 1.7.11.msysgit.1 of the latest msysgit available at the moment of writing this answer. So the "old" command line client is newer than the "new" GitHub provided client, at least now.

这篇关于将RubyMine与GitHub for Windows集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆