我在 RailsGirls 聚会上提供了帮助,在那里我们让女孩们立即使用 RailsInstaller 开始使用(它适用于 Windows 和 Mac OSX)。虽然我个人更喜欢手动执行此操作,但这是一个很好的入门选择。
InstantRails 2.0 is from 2007 and is thus sorely outdated. It still is weird how there remain a lot of users that keep starting with that.
I would always recommend doing the following:
use the latest version from Rubyinstaller.org (now they are 1.8.7p302)
there is no need to install the rubygems package seperately, it is included in the rubyinstaller (so also in the one you used). You can just run the executable and the commands ruby -v and gem -v should work. You might want to do a gem update --system to be safe.
also install the devkit! it allows you to install gems that need to compile binary code (like thin).
install a common set of windows gems for your pleasure. I have a batch-file written up in this post.
install git
install an editor of your choice (Netbeans which is free, or use Rubymine which is awesome!)
Have fun! :)
[UPDATE February 2014]
I helped at a RailsGirls meet, and there we got the girls started up in no time using the RailsInstaller (and it is available for Windows and Mac OSX). While I personally prefer to do it manually, this is a great alternative to get you started.
发布评论
评论(2)
InstantRails 2.0 是 2007 年的版本,因此已经过时了。
奇怪的是仍然有很多用户继续这样做。
我总是建议执行以下操作:
使用 Rubyinstaller.org 中的最新版本(现在它们是 1.8.7p302 )
有无需单独安装 rubygems 包,它包含在 rubyinstaller 中(因此也包含在您使用的安装程序中)。您只需运行可执行文件即可,命令
ruby -v
和gem -v
应该可以工作。为了安全起见,您可能需要进行一次gem update --system
。还要安装devkit!它允许您安装需要编译二进制代码的gems(例如thin)。
安装一组通用的 Windows gem,以满足您的需求。我在这篇文章中写了一个批处理文件。
安装 git
安装您选择的编辑器(Netbeans 是免费的,或者使用非常棒的 Rubymine!)
玩得开心! :)
[2014 年 2 月更新]
我在 RailsGirls 聚会上提供了帮助,在那里我们让女孩们立即使用 RailsInstaller 开始使用(它适用于 Windows 和 Mac OSX)。虽然我个人更喜欢手动执行此操作,但这是一个很好的入门选择。
InstantRails 2.0 is from 2007 and is thus sorely outdated.
It still is weird how there remain a lot of users that keep starting with that.
I would always recommend doing the following:
use the latest version from Rubyinstaller.org (now they are 1.8.7p302)
there is no need to install the rubygems package seperately, it is included in the rubyinstaller (so also in the one you used). You can just run the executable and the commands
ruby -v
andgem -v
should work. You might want to do agem update --system
to be safe.also install the devkit! it allows you to install gems that need to compile binary code (like thin).
install a common set of windows gems for your pleasure. I have a batch-file written up in this post.
install git
install an editor of your choice (Netbeans which is free, or use Rubymine which is awesome!)
Have fun! :)
[UPDATE February 2014]
I helped at a RailsGirls meet, and there we got the girls started up in no time using the RailsInstaller (and it is available for Windows and Mac OSX). While I personally prefer to do it manually, this is a great alternative to get you started.
安装 git 和 TortoiseGIT.
Installing git and TortoiseGIT.