Bla ... wrote: > Hi, i'm trying to save a file in one place if it's Linux and another one > if it's WIndows.... > But if someone using Windows put to save on Linux, will show a error > page. > How can i verify what of those are the user using?
I believe RUBY_PLATFORM should have that information. It's rare that you'd need it, though; have you looked at the Tempdir stuff? Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

