" sudo apt-get install ruby​​-dev"在Windows中 [英] "sudo apt-get install ruby-dev" in Windows

查看:134
本文介绍了" sudo apt-get install ruby​​-dev"在Windows中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Windows上安装Ruby开发工具,基本上与 https://stackoverflow.com/a中所述的命令相同/ 12552948/6474013

我已经尝试使用Sudowin,但它不适用于ruby命令提示符。我使用RailsInstaller和Ruby 2.1.8为了安装编译器工具链来在Windows上编译某些gems,你可以安装 DevKit 作为Ruby Installer的插件。



如果您从安装了Rails Installer软件包,则应该已包含该软件包进入包装。


I need to install the Ruby development tools on Windows, essentially the same command as described in https://stackoverflow.com/a/12552948/6474013.

I have already tried to use Sudowin but it's doesn't work for the ruby command prompt. I use RailsInstaller with Ruby 2.1.8

解决方案

In order to install the compiler toolchain to compile certain gems on Windows, you can install the DevKit as an Addon to Ruby Installer.

If you installed a Rails Installer package from http://railsinstaller.org/, this should already be included into the package.

这篇关于" sudo apt-get install ruby​​-dev"在Windows中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆