ruby之——安装gem提示:Please update your PATH to include build tools or download the DevKit
来源:互联网 发布:公司数据管理软件 编辑:程序博客网 时间:2024/06/03 00:30
在安装ruby 的gem的时候可能会出现下面这样的提示, 按照给出的提示有两种办法可以解决, 但是经过在网上的搜索发现只有最后一种可行。 所以特分享于此。
ERROR: Error installing XXXXXXXXXXX:
The 'XXXXXXXXXXXX' native gem requires installed build tools.
Please update your PATH to include build tools ordownload the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
出错的原因是安装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即可。
- ruby之——安装gem提示:Please update your PATH to include build tools or download the DevKit
- rails创建项目报"please update your path to include build tools...."
- Ruby解决方案:The 'ffi' native gem requires installed build tools ; 含最新DevKit下载地址
- Ruby解决方案:The 'ffi' native gem requires installed build tools ; 含最新DevKit下载地址
- Ruby解决方案:The 'ffi' native gem requires installed build tools ; 含最新DevKit下载地址
- Ruby解决方案:The 'ffi' native gem requires installed build tools ; 含最新DevKit下载地址
- Ruby安装中遇到的问题 DevKit + Gem Sqlite3
- 编译ionic项目的时候提示: Please install the Android build tools version 19.1.0 or higher.
- VMWARE TOOLS安装提示THE PATH IS NOT A VALID PATH TO THE GENERIC KERNEL HEADERS
- VmWare Tools 安装提示 “The path "" is not a valid path to the.......”
- VMWARE TOOLS安装提示THE PATH IS NOT A VALID PATH TO THE GENERIC KERNEL HEADERS
- VMWARE TOOLS安装提示THE PATH IS NOT A VALID PATH TO THE GENERIC KERNEL HEADERS
- DevKit安装失败,Invalid configuration or no Rubies listed. Please fix 'config.yml' and rerun 'ruby dk.rb
- gem安装ruby包无法建立本地环境(failed to build gem native extension)
- Window7—64位:Ruby on Rails - “Add 'gem sqlite3'' to your Gemfile”
- Please download the latest version of the lscn to continue your development.
- 打开eclipse提示please update adt to the latest version
- Windows下安装Ruby DevKit
- Java代码注释规范(From Sun MicroSystem)
- Discriminative Learning和Generative Learning
- debian Squeeze不能访问内网,可以访问外网的解决方法.
- 如何分析一个产品创意在App Store中是否可行
- android 获取本机的一些信息(imsi,imei....不断更新中)
- ruby之——安装gem提示:Please update your PATH to include build tools or download the DevKit
- android 调用系统的activity
- AVI格式介绍
- C++ 初学者指南 第三篇 (2) 项目3-1
- hadoop的一些基本用法
- 修改进程权限(转载)
- ffmpeg 获取视频关键帧
- ERROR 1005: Can't create table (errno: 121)
- 字符谜题之1:最后的笑声(之所以说是最后的笑声,是因为输出两个Ha,第二个出问题)