简体   繁体   English

在Windows上为Gems构建本机扩展需要什么? (RubyGems)

[英]What is need to build native extension for Gems on Windows? (RubyGems)

More and more gems I run into requires building "native extensive", such as RedCloth. 我遇到的越来越多的宝石需要构建“本机扩展”,例如RedCloth。 Are there tools that are open-source or free that is sufficient to do that? 是否有足以做到这一点的开源或免费工具? I heard MS Visual Studio also has a free version. 听说MS Visual Studio也有一个免费版本。 Will that be enough to build native extensions? 这足以构建本机扩展吗?

If you installed Ruby with the RubyInstaller (as you should), then the DevKit has everything you need. 如果您通过RubyInstaller安装了Ruby(如您所愿 ),那么DevKit将提供您所需的一切。

If you use the obsolete MSVC6 builds , then you need to install Microsoft Visual C++ 6.0, because newer versions of MSVC are incompatible. 如果使用过时的MSVC6 builds ,则需要安装Microsoft Visual C ++ 6.0,因为新版本的MSVC不兼容。 Good luck finding that, though, MSVC6 isn't even from this millenium. 幸运的是,发现MSVC6甚至不是从这个千年开始的。

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

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