Determine O/S from rails?

Is there a simple way to determine the OS rails is currently running
under. I have an application
which runs under both Windows and Rails. The code needs to access a
different file depending on
which OS is currently running.

Thanks in advance,
Don Mc

On 05/06/07, Don.Mc [email protected] wrote:

Is there a simple way to determine the OS rails is currently running
under.

http://wiki.ruby-portal.de/Plattform_bestimmen

-Thomas

Thanks!

Don Mc

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs