The Windows installer should set the correct file associations so that
double clicking a ruby file will execute it.

If you want to run ruby from the command line just type:  ruby scriptname.rb

-- Wes

----- Original Message -----
From: "Seth Kurtzberg" <seth / cql.com>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Monday, March 10, 2003 3:13 PM
Subject: Re: Thinking of learning Ruby


> The easiest way is to install cygwin (www.cygwin.com) which gives you a
UNIX
> like environment with a bash shell.  Then you use #! just like a real
> computer.  :)
>
> On Monday 10 March 2003 12:31 pm, jeepcreep wrote:
> > Just to take you a little off subject for a moment:
> > I'm also a newby. I went to your site and installed Ruby (Windows
version).
> > On the comand line level it works just fine. Now to create a program.
> > Therein lies my problem. At home I am running LINUX, so I don't expect a
> > problem (I'll install the LINUX version and use #!). At work, though,
I'm
> > not that lucky. I am running on an XP platform. I can't use #! here so
how
> > do I define the directory where my .rb modules will be run from? Daniel
> > Carrera <dcarrera / math.umd.edu> wrote:> Althoug getting a job in
> > programming is a concern of mine, I think
> >
> > > I'd still be able to find another line of work. I am however very
> > > interested in being a volunteer developer for a Linux distribution,
> > > it would certainly help me learn the programming language.
> >
> > Most of Linux/OSS is written in C, in the Unix tradition. KDE is an
> > exception, it is mostly C++.
> >
> > C is easier to learn than C++, and to some degree it is a subset of
> > C++.
> >
> > I would suggest you learn Ruby first, then C then (possibly) C++. In
> > my case I've never had a compelling reason to learn C++. I only know
> > C.
>
> --
> Seth Kurtzberg
> M. I. S. Corp.
> 480-661-1849
> seth / cql.com
>