尽管正确地安装了dev工具(至少,逐字逐句地遵循文档),但我仍然得到了以下错误:
C:\devkit>gem install 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'如何将构建工具添加到路径中?
在Windows 7中,我知道我可以通过导航到
Control Panel » System » Advanced » Environment Variables我在c:/Devkit安装了Devkit
但我只知道这些。如何将Devkit添加到我的环境变量(至少,我认为这就是它的含义)
发布于 2013-10-17 04:43:39
您应该能够将Devkit添加到您的环境变量中,在Control Panel » System » Advanced » Environment Variables中执行以下操作
DEVKIT_HOME
-可变值:C:\Devkit;%DEVKIT_HOME%\bin;%DEVKIT_HOME%\mingw\bin当然,您可以跳过添加DEVKIT_HOME变量,直接用C:\Devkit\bin;C:\Devkit\mingw\bin更新Path变量。
https://stackoverflow.com/questions/19417715
复制相似问题