Compiling the Ruby 1.9.3 interpreter on Windows 7

Is there a step by step article on what tools would be needed to compile
the Ruby interpreter? That is, where to find the latest Ruby code on
Github, the compiler to use, compiler settings,
environment variables, etc.

Ralph S.

Ralph S. wrote in post #1056418:

Is there a step by step article on what tools would be needed to compile
the Ruby interpreter? That is, where to find the latest Ruby code on
Github, the compiler to use, compiler settings,
environment variables, etc.

Have you seen the RubyInstaller http://rubyinstaller.org/ project?

It not only provides Windows installers, binary archives, and CHM
documentation, but also maintains a GH repo with build recipes
https://github.com/thecodeshop/ruby for the interpreter, required
dependencies, and a build toolchain we call the DevKit. And the recipes
download all the required artifacts so you don’t have to.

Luis L., myself, and the other RubyInstaller committers actively
maintain the project. Luis is also a committer to the official Ruby
repo.

Building can be easier than this, but here’s how I build from my local
Ruby repo using an upversion MSYS/MinGW build toolchain.

rake ruby19 local=c:\Users\Jon\Documents\RubyDev\ruby-git
dkver=mingw-32-4.6.2

The build recipes also can be easily overridden if you want to tweak and
optimize.

Our ML: http://groups.google.com/group/rubyinstaller

Getting started links:

FAQ · oneclick/rubyinstaller Wiki · GitHub
Troubleshooting · oneclick/rubyinstaller Wiki · GitHub
Development Kit · oneclick/rubyinstaller Wiki · GitHub

Jon

Jon,

Saturday, April 14, 2012, 3:21:19 PM, you wrote:

JF> Ralph S. wrote in post #1056418:

Is there a step by step article on what tools would be needed to compile
the Ruby interpreter? That is, where to find the latest Ruby code on
Github, the compiler to use, compiler settings,
environment variables, etc.

JF> Have you seen the RubyInstaller http://rubyinstaller.org/ project?

JF> It not only provides Windows installers, binary archives, and CHM
JF> documentation, but also maintains a GH repo with build recipes
JF> https://github.com/thecodeshop/ruby for the interpreter, required
JF> dependencies, and a build toolchain we call the DevKit. And the
recipes
JF> download all the required artifacts so you don’t have to.

JF> Luis L., myself, and the other RubyInstaller committers actively
JF> maintain the project. Luis is also a committer to the official Ruby
JF> repo.

JF> Building can be easier than this, but here’s how I build from my
local
JF> Ruby repo using an upversion MSYS/MinGW build toolchain.

JF> rake ruby19 local=c:\Users\Jon\Documents\RubyDev\ruby-git
JF> dkver=mingw-32-4.6.2

JF> The build recipes also can be easily overridden if you want to tweak
and
JF> optimize.

JF> Our ML: http://groups.google.com/group/rubyinstaller

JF> Getting started links:

JF> FAQ · oneclick/rubyinstaller Wiki · GitHub
JF> Troubleshooting · oneclick/rubyinstaller Wiki · GitHub
JF> Development Kit · oneclick/rubyinstaller Wiki · GitHub

JF> Jon

May the gods bless you. Thanks!