ruby -v

It will return the ruby version or command not found in windows.

On Thu, Feb 7, 2013 at 6:22 PM, z. w. <lists / ruby-forum.com> wrote:

> Hi All
>
> We're new to ruby.
> Apologize ahead if this is too simplistic.
> We have a windows executable application to install.
> We tried with Expect script; it didnt work because the executable spawns
> a new console window and cygwin cant find the application to execute.
>
> We like to know if there's simple examples for us to teach us on how to
> test our installation program via console on Windows Server 2008 64 bit
> box.
> In other words, when this below is executed in a windows shell
> abc.exe -i console
>
> the new console window pops up with text messages.
> We like to use what Expect could do, ie send and get messages back and
> forth to validate our install test.
>
> Any help is appreciated.
> Thanks
>
> --
> Posted via http://www.ruby-forum.com/.
>
>