ConTeXt scripts used to be written in Perl (phased out), then switched to Ruby and now to Lua. You need to have at least Ruby installed installed, and Perl for mptopdf.
- http://www.ruby-lang.org or http://rubyinstaller.rubyforge.org
After installing them (remember the folder where you've put them!) you have to check if both executables are included in the PATH. Open the command line (Start -> Run ... -> type
command) and check if
If windows complains about "Command not found", go to the Control Panel -> System -> Advanced -> click on the "Environment variables" and choose path in "system variables". Type in the path (e.g. D\Program Files\Perl\bin\;) where the ruby and perl *.exe files are installed. Generally, the installation is automatic. you may not need the above method.
If you get an error similar to invalid multibyte escape from Ruby, you may need to use a version of Ruby earlier than 1.9. There may be other ways to get around this problem; see e.g. http://gnuu.org/2009/11/02/ruby-1-9-encoding-issues-again/.