From: Siep Korteling Date: 2010-02-21T21:23:58+09:00 Subject: Re: Running two versions of Ruby - Lessons Learned Alex DeCaria wrote: > After experimenting with Ruby 1.9 I've found I really like it and wanted > to make it my main version of Ruby. My problem was that I have two > programs that I use frequently that only work with Ruby 1.8. I want my > programs to run just by clicking the icons on my Windows desktop. > However, when setting the default application for an icon, Windows > forces you to choose between running all the .rb programs using either > 1.9 or 1.8 (you can't set some to default to 1.9 and others to default > with 1.8 as far as I can tell).(...) > > --Alex If you have (or create) on your desktop a shortcut to your .rb file, you can edit the properties of this shortcut. On the tab "shortcut" the entry "target" will contain the path to your .rb file. Modify this to: "path\to\ruby1.8\bin\ruby.exe path\to\rb". hth, Siep -- Posted via http://www.ruby-forum.com/.