Changes

Simple Ruby Examples

409 bytes added, 14:18, 12 November 2007
Associating Ruby Files on Windows
== Associating Ruby Files on Windows ==
 
The ''She-bang'' approach outlined in the preceding chapter does not work on Windows. The #! line will just be UNIX gibberish to a Windows system. The best way to configure a Windows system to detect that a file with a ''.rb'' file extension is to be launched with Ruby is to use Windows file associations.
 
If you installed Ruby on Windows using the One-Click installaer then .rb files will already have be
== Interactive Ruby Executions ==