超简单的办法
如果你是ruby刚入门,推荐这个方法。
如果通过上面方法安装DevKit成功率会比较高,下面这种方法不一定能成。但如果你想折腾,可以来试试下面的手动安装。
windows下安装或升级时gem经常会碰到
1 Please update your PATH to include build tools or download the DevKit
2 from 'http://rubyinstaller.org/downloads' and follow the instructions
3 at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
这是因为没有安装DevKit的缘故。
DevKit 是windows平台下编译和使用本地C/C++扩展包的工具。它就是用来模拟Linux平台下的make, gcc, sh来进行编译。注:这个方法目前仅支持通过RubyInstaller安装的Ruby,如果不是建议你重新安装。安装方法:双击下载的7z文件,指定解压路径,路径中不能有空格。如C:\DevKit,这个路径就是<DEVKIT_INSTALL_DIR>。
1 > cd <DEVKIT_INSTALL_DIR>
2 > ruby dk.rb init
3 #生成config.yml,这里会检查将要添加DevKit支持的Ruby列表,只支持通过RubyInstaller安装的Ruby
4 #如果这里列出的Ruby与你的要求不符,可以手动修改
5 > ruby dk.rb review #检查要添加DevKit支持的Ruby列表是否有误,可以略过
6 > ruby dk.rb install
7 [INFO] Updating convenience notice gem override for 'C:/Ruby187'
8 [INFO] Installing 'C:/Ruby187/lib/ruby/site_ruby/devkit.rb'
检查是否安装成功
1 > gem install rdiscount --platform=ruby
2 Fetching: rdiscount-1.6.8.gem (100%)
3 Temporarily enhancing PATH to include DevKit...
4 Building native extensions. This could take a while...
5 Successfully installed rdiscount-1.6.8
6 1 gem installed
7 Installing ri documentation for rdiscount-1.6.8...
8 Installing RDoc documentation for rdiscount-1.6.8...
如果能安装rdiscount成功说明安装DevKit成功
相关推荐
Windows上安装Jekyll所需软件包含ruby 、DevKit、python、pip 目录 Jekyll介绍 安装Ruby 安装DevKit 安装Jekyll 安装Python 安装pip 运行Jekyll 博文参考...
在Windows系统上安装Ruby是一项相对简单的任务。以下是在Windows系统上安装Ruby的一般步骤: 下载Ruby Installer: 访问Ruby官方网站(https://www.ruby-lang.org/en/downloads/)下载适用于Windows系统的Ruby ...
rubyinstaller-devkit-2.7.1-1-x64.exe windows 64位安装包,官网下载巨慢,下载不易,
RubyInstaller是一个在 Windows 下的安装程序,用来安装 Ruby 语言的开发工具和运行环境支持。
DevKit 是windows平台下编译和使用本地C/C++扩展包的工具。它就是用来模拟Linux平台下的make, gcc, sh来进行编译。注:这个方法目前仅支持通过RubyInstaller安装的Ruby,如果不是建议你重新安装。安装方法:双击下载...
The installed ruby is a native Windows application but combines this with the rich UNIX toolset of MSYS2 and the large repository of MINGW libraries. Find more about RubyInstaller and it’s ...
rubyinstaller-devkit-2.7.2-1-x86.exe 是ruby 在windows 下的安装包,包含了ruby 的一些lib库。因为该安装包下载一般会比较慢,这里提供一个镜像。
官网搬运,最新一键安装rubyinstaller-devkit 64位,windows版
ruby安装工具windows版本,redis集群需要的环境
一般是ruby或者rails安装地方的根目录下,例如我的:E:\Ruby200\cacert.pem 3.设置环境变量,在命令行(cmd)里,输入 set SSL_CERT_FILE=E:\Ruby200\cacert.pem,这只是临时的环境变量。如果要是固定的环境变量,转下...
Windows下的Ruby安装包,官方网站下载太慢,所以将2.5.8、2.6.6和2.7.1三个版本的rubyinsaller-devkit安装包打包在一起
rubyinstaller-devkit-2.4.4-2-x64.exe,windows系统下的ruby安装环境
支持系统:linux/Mac/windows,windows需要安装ruby devKit环境同时安装mysys2库。 支持语言:Ruby 2.2.2及以后的版本 支持爆破模块 ftp ssh telnet smb mysql mssql oracle redis mongo vnc 安装 bundle install...
一门开源的动态编程语言,注重简洁和效率。Ruby 的句法优雅,读起来自然,写起来舒适。windows64位,下载解压使用
在 Mac/*nix 上:./publish-site.sh ../ArteJS 在 Windows 上:./publish-site.ps1 ../ArteJS安装依赖安装将 ruby bin dir 添加到您的 PATH 环境变量Mac 用户应该已经安装了 Ruby 在 Windows 上安装 RubyDevKit ...
DevKit 是windows平台下编译和使用本地C/C++扩展包的工具。它就是用来模拟Linux平台下的make, gcc, sh来进行编译。注:这个方法目前仅支持通过RubyInstaller安装的Ruby,如果不是RubyInstaller建议你重新安装。
This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more.
rubyinstaller-devkit安装,免费下载,不能0积分,否则系统自动设置27积分RubyInstaller is the easiest and most used Ruby environment on Windows. And Ruby is a great language for beginners as well as ...
[Windows] Ruby + Devkit Ruby2.7.1p83(2020-03-31修订版a0c7c23c9c)[x64-mingw32] [苹果系统] Ruby2.7.0p0(2019-12-25修订版647ee6f091)[x86_64-darwin19] Ruby2.6.0p0(2018-12-25修订版66547)[x86_64-...