RUBY Error: Please update your PATH to include build tools or download the DevKit

出错的原因是安装XXXXX的时候,需要build tools,但系统中没有。出错信息中同时也给出了解决的法案:

1. 到 http://rubyinstaller.org/downloads/ 去下载dev kit – DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe

2. 按照 http://github.com/oneclick/rubyinstaller/wiki/Development-Kit/ 安装dev kit

主要安装步骤如下:

1. 如果原来系统中已经安装了旧版的dev kit, 则删除它

2. 下载上面提到的dev kit

3. 解压下载下来的文件到指定的目录,如c:/devkit。(注意:目录不能有空格)

4, 在安装目录下运行ruby dk.rb,然后按照提示分别运行ruby dk.rb init 和 ruby dk.rb install来增强ruby

5, 可以运行 gem install rdiscount –platform=ruby 来测试是否成功

按照安装步骤,完成了DevKit的安装,非常简单。

然后,再次安装需要的gem即可。

时间: 2024-08-27 07:17:27

RUBY Error: Please update your PATH to include build tools or download the DevKit的相关文章

Linux GRUB 引导Win 7 ---- error: invalid EFI file path

最近新买了个固态硬盘,先装了个Win 7系统,现在装的系统和以前装系统唯一的区别是引导不是以前的MBR,而是最新看似是个趋势的GPT+UEFI方式. win 7 装完啦,还是和以往的一样装 Ubantu (Ubantu 12.04),ubantu 引导磁盘扇区选择的是装win7是的那个引导磁盘(ESP分区的那个盘): ubantu 安装先是断网安装,安装到一半是抛出错误说GRUB 啥啥啥的错误,网上搜罗了一下说联网就没问题,照做啦联网后确实OK,就这样Ubantu安装一切顺利,安装完成后就发现进

解决问题 xcrun: error: invalid active developer path

文章转载自 码经笔记 [https://majing.io]  https://majing.io/posts/10000002011165 升级到macOS High Sierra后,执行git命令报错: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/x

Mac 执行git命令报错xcrun: error: invalid active developer path的解决办法

报错 git clone xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun C02M71L9F8J2:~ pub_pawf_autotest$ git clone http://git-ma.paic.com.cn/DINGXIANZHI795/a

解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题

升级了系统 命令行不能用了 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决方法,重装xcode command line: xcode-select --install 还挺大的,cdn做的很好 High Sierra,终端里使用git的时

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

mac报错: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun   场景: 使用goland  debug模式运行go代码main方法时,报以上错误,初步分析是xcode 组件缺失了 包括一些其他场景如运行git命令等也有可能出现此错误 解决方法:

VS2013下开发VC++程序,编译时提示错误error MSB8020: The build tools for v140 (Platform Toolset = 'v140') 的解决方案

1. 问题描述: 提示如下错误:error MSB8020: The builds tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Inst

error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found

I want to run some programs of vs2012 on the vs2013 ,however some errors as follows: first time the error is : error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1700' you can do that as fllows : project ->project prop

configure: error: you must configure in a separate build directory

configure glibc-2.14 时出现以下错误: [[email protected] opt]# cd glibc-2.14 [[email protected] glibc-2.14]# ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc chec

error MSB8020: The build tools for Visual Studio 2012 (Platform Toolset = 'v110')

编译平台工具集选择错了,VS2012程序在打开的时候,默认是使用V110编译平台工具集,而V110是VS2012的编译平台,你电脑里没有安装此平台工具集,故提示此错误.  你可以打开项目属性,把平台工具集改一下即可. error MSB8020: The build tools for Visual Studio 2012 (Platform Toolset = 'v110')