问题
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
回答1:
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.
来源:https://stackoverflow.com/questions/37856087/sudo-apt-get-install-ruby-dev-in-windows