Forum: Ruby testing console installation with ruby - quick question

Posted by z. w. (chz013)
on 2013-02-08 03:12
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 by hackandg (Guest)
on 2013-02-08 04:09
(Received via mailing list)
ruby -v

It will return the ruby version or command not found in windows.
Posted by z. w. (chz013)
on 2013-02-08 18:51
hackandg wrote in post #1095886:
> ruby -v
>
> It will return the ruby version or command not found in windows.

Hi hankandg

Thanks for responding.
However its not the answer we're looking for.

Thanks
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.