From: balzer on

"balzer" <nospam(a)news.eternal-september.org> wrote in message
news:hrua85$a4f$1(a)news.eternal-september.org...
>
> "Damjan Rems" <d_rems(a)yahoo.com> wrote in message
> news:cbbed86947f0131c33a01b42e7df036f(a)ruby-forum.com...
>> balzer wrote:
>>> "Marvin Gülker" <sutniuq(a)gmx.net> wrote in message
>>> news:20e0dc93e4e2a1d8d772efcebfbd9e87(a)ruby-forum.com...
>>>>> If
>>>> So, just unzip your Ruby wherever you want it. In order to start ruby,
>>>> just do:
>>>> ----------
>>>> C:\> I:
>>>> I:\> ruby\bin\ruby -v
>>>> ----------
>>>> or whatever drive letter your USB device gets and however the ruby
>>>> directory is named.
>>>>
>>>> Marvin
>>>> --
>>> --------------------
>>>
>>> And where should be placed programs: inside Ruby directory?
>>>
>>> thank you.
>>
>> It doesn't matter at all.
>>
>> Go to whatever directory and type: i:\ruby\bin\ruby myrubyprog.rb
>>
>> by
>> TheR
>> --
> ----------------
>
> Type command where: in windows cmd prompt , MS DOS windows or other place?
-----------
how to use it? for example Ruby in on F:

F:\Ruby

program is in
F:\Ruby\origami-1.0.0b
scripts are in
F:\Ruby\origami-1.0.0b\sources\scripts\parse which have 'parse.rb' script i
want run


From: MrZombie on
You could use a batch script to launch Ruby with the parameters you'd
use to launch your script.

Example:

Your script resides in F:\foo-program\lib\foo.rb
Ruby resides in F:\foo-program\ruby.exe

Make a batch file that executes the following command and place it in
F:\foo-program\:

ruby.exe lib\foo.rb

On 2010-05-06 08:53:51 -0400, balzer said:

> "balzer" <nospam(a)news.eternal-september.org> wrote in message
> news:hrua85$a4f$1(a)news.eternal-september.org...
>>
>> "Damjan Rems" <d_rems(a)yahoo.com> wrote in message
>> news:cbbed86947f0131c33a01b42e7df036f(a)ruby-forum.com...
>>> balzer wrote:
>>>> "Marvin G�lker" <sutniuq(a)gmx.net> wrote in message
>>>> news:20e0dc93e4e2a1d8d772efcebfbd9e87(a)ruby-forum.com...
>>>>>> If
>>>>> So, just unzip your Ruby wherever you want it. In order to start ruby,
>>>>> just do:
>>>>> ----------
>>>>> C:\> I:
>>>>> I:\> ruby\bin\ruby -v
>>>>> ----------
>>>>> or whatever drive letter your USB device gets and however the ruby
>>>>> directory is named.
>>>>>
>>>>> Marvin
>>>>> --
>>>> --------------------
>>>>
>>>> And where should be placed programs: inside Ruby directory?
>>>>
>>>> thank you.
>>>
>>> It doesn't matter at all.
>>>
>>> Go to whatever directory and type: i:\ruby\bin\ruby myrubyprog.rb
>>>
>>> by
>>> TheR
>>> --
>> ----------------
>>
>> Type command where: in windows cmd prompt , MS DOS windows or other place?
> -----------
> how to use it? for example Ruby in on F:
>
> F:\Ruby
>
> program is in
> F:\Ruby\origami-1.0.0b
> scripts are in
> F:\Ruby\origami-1.0.0b\sources\scripts\parse which have 'parse.rb'
> script i want run