Changes

Jump to navigation Jump to search
705 bytes added ,  15:06, 20 January 2006
→‎Installing Perl and Ruby: a note about cygwin
You need the two scripting languages in other operating systems as well, but installing them under Windows may be a bit less intuitive for a newbie than under Linux.
You can download ActivePerl [http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl here] and Ruby [http://rubyinstaller.rubyforge.org/wiki/wiki.pl here] or [http://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ here] (different one; might be better- you only need to extract files from zip).
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 '''<code>cmd</code>''' or '''<code>command</code>''') and check if
''(Installing ruby is optional under Windows, but nevertheless recommended. Some scripts need ruby, although it may happen that you will never use those scripts.)''
 
=== A note about cygwin ===
 
If you have a working perl and ruby under cygwin and if they are in <code>PATH</code>, this might already work (although it's a better idea to use native Windows versions). However, if the inclusion of libraries in ruby fails (because of conversion of path names), try setting the environmental variable <code>RUBYLIB</code>:
 
<i>My Computer -> Properties -> Advanced -> Environment Variables -> New</i>
* Variable name: <code>RUBYLIB</code>
* Variable value: <code>/cygdrive/c/<i>[Path to MikTeX or other distr.]</i>/scripts/context/ruby</code>
 
[http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/50b3c1b275cd0c6d]
== Installing GhostScript ==

Navigation menu