Newbie ruby question (finding OS)

P

Paul Johnston

Hi
Just started looking at ruby and have a question
Is there a simple way to get an idea of what operating system a ruby
program is running on.
I was guessing checking the OS's file system using something like
"executable?" or even "system" and running a specific *nix command
and seeing what happens but these seem rather crude.
Any suggestions ?
TIA
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top