简体   繁体   English

Windows中的“ sudo apt-get install ruby​​-dev”

[英]“sudo apt-get install ruby-dev” in Windows

I need to install the Ruby development tools on Windows, essentially the same command as described in https://stackoverflow.com/a/12552948/6474013 . 我需要在Windows上安装Ruby开发工具,基本上与https://stackoverflow.com/a/12552948/6474013中描述的命令相同。

I have already tried to use Sudowin but it's doesn't work for the ruby command prompt. 我已经尝试过使用Sudowin,但是对于ruby命令提示符它是行不通的。 I use RailsInstaller with Ruby 2.1.8 我在Ruby 2.1.8中使用RailsInstaller

In order to install the compiler toolchain to compile certain gems on Windows, you can install the DevKit as an Addon to Ruby Installer. 为了安装编译器工具链以在Windows上编译某些gem,您可以将DevKit作为Ruby安装程序的附件安装。

If you installed a Rails Installer package from http://railsinstaller.org/ , this should already be included into the package. 如果您从http://railsinstaller.org/安装了Rails Installer软件包,则该软件包中应该已经包含了该软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM