将RubyMine与GitHub for Windows集成

编程入门 行业动态 更新时间:2024-10-28 07:19:05
本文介绍了将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集成

本文发布于:2023-11-24 08:21:46,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:RubyMine   GitHub   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!