Ruby 版本控制
在 Mac 上开发并将在 Linux 上托管。有谁知道我在开发过程中可以使用的良好/可靠的版本控制插件或托管平台吗?
谢谢,
埃里克
Developing on a Mac and will host on Linux. Does any know of a good/reliable version control plugin or hosting platform I can us during development?
Thanks,
Eric
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
从我所看到的(我仍在尝试进入 Ruby 和 Rails,所以这有点像一个局外人的角度),git 似乎与相当多的 Rails 东西紧密相关。就此而言,大多数 Rails 开源社区似乎都基于 github.com。
鉴于此,我个人会选择 git。如果您想要/需要与其集成的 IDE,JetBrains 的 RubyMine 应该支持它 ( http:// /www.jetbrains.com/ruby/index.html ),我相信还有一个 TextMate 的 git 包。
From what I've seen (I'm still trying to get into Ruby and Rails, so this is a bit of an outsider's perspective) it seems that git is intimately tied up with quite a lot of Rails stuff. For that matter, most of the Rails open-source community seems to be based around github.com.
Given that, I would personally go with git. If you want/need an IDE that integrates with it, JetBrains' RubyMine should support it ( http://www.jetbrains.com/ruby/index.html ) and I believe there is also a git bundle for TextMate.
git
是版本控制的常用选择。您实际上并不需要单独的插件即可使其正常工作; git 只是一组命令行工具。git
is the usual choice here for version control. You won't really need a separate plugin to get it to work; git is just a set of command-line tools.Git 或 SVN
您可以使用 GitHub http://github.com/ 或 Unfuddle http://unfuddle.com/ 托管。
Git or SVN
You can use GitHub http://github.com/ or Unfuddle http://unfuddle.com/ to host.
Git 或 SVN 是显而易见的选择。我会推荐您用于项目的大多数库中使用的任何一种,因为它更容易管理您自己的项目中的外部库。此外,这还取决于您想如何使用它。如果您想集成到 IDE 或漂亮的 GUI 中,或者您喜欢命令行,请使用 Forexampel。
对我来说,这一切都归结为 Subversion (SVN),尽管我怀疑,因为您使用的是 Ruby,可能还使用 Rails,所以您可能会想要使用 Git。
Git or SVN are the obvious choices. I would recommend whatever one the majority of the libaries you use for projects utilize as its easier to manage external libs in your own projects. Additionally, it also depends on how you want to use it. Forexampel if you want integration in an IDE, or a pretty GUI, or if youre cool with the command line.
For me all this boils down to Subversion (SVN) though i suspect since youre using Ruby and presumably Rails youll probably want to go with Git.
我会一直推荐
Subversion
。特别是因为 Subversion 的工具支持(在我看来)更好。由于您使用的是 Mac,请查看 版本 来管理您的 Svn 工作副本。在您的 Linux 机器上,您只需使用命令行工具即可。
至于托管,我个人使用过 http://unfuddle.com/,并对它们感到满意。唯一的缺点是您必须付出一定的代价才能获得代码的 SSL 支持。但如果 SSL 不是问题,那么他们甚至可以提供免费服务。
I would recommend
Subversion
all the way.Especially since the tooling support (in my opinion) is better for Subversion. Since you are on the Mac check out Versions to manage you Svn working copy. On your Linux box you can just simply use the command line tools.
As for hosting, I've personally used http://unfuddle.com/, and was pleased with them. The only downside is the price you have to pay to get SSL support for you code. But if SSL isn't a concern, then they even have a free tier of service.