![]() Many community members also use the DevKit as their “foundation” toolkit for building other native software. The DevKit is used to build MRI Ruby and the required dependencies needed to deliver the RubyInstaller for Windows. We use the DevKit internally for the RubyInstaller project. The DevKit, based upon MSYS and MinGW components, is an easy-to-install and easy-to-use solution for quickly setting up a “sane” build environment, enabling you to use most native RubyGems developed by the Ruby community. This expectation of a “sane” build environment is not always true for Windows users and is the primary reason why the DevKit was created. A “sane” environment typically means a system with make, gcc, sh and similar *nix build tools installed. In other cases, only the extension source code is available in the gem and the user is expected to have a “sane” environment installed and configured in order to build and use the native gem. In many cases this isn’t a problem because the extension author has provided a binary gem compatible with the users Ruby environment. One of the challenges many Ruby on Windows users have is how to easily use native RubyGems from the community such as the rdiscount or curb gems. ![]() Simply download, double-click, choose an installation directory, run the Ruby install helper script, possibly tweak a config.yml file for your system specifics, and you’re ready to start using native Ruby extensions. The DevKit is a toolkit that makes it easy to build and use native C/C++ extensions such as RDiscount and RedCloth for Ruby on Windows.
0 Comments
Leave a Reply. |