我正在我的 Windows 上安装 Rails 3。
我安装了最新的 ruby 2.0.0,并更新了 gems。
但是当我使用 gem install Rails 安装 Rails 时,成功的消息来了,但最后我发现
ERROR: Error installing rails:
The 'atomic' native gem requires installed build tools
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
请帮我...
正如错误消息所述,您需要安装 Ruby DevKit,可以从 RubyInstaller.org 获取。 (还需要从那里检查合适的 Devkit 版本..)
并将 DevKit zip 文件解压到某个位置(您使用的是 Windows,那么 -> : c:\xxxx)
导航到 c:\xxxx 并运行“ruby dk.rb init”,然后运行“ruby dk.rb install”。
并尝试重新安装导轨..
我希望这有帮助,
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)