In Windows:
>> Dir.chdir 'c:/myscripts'
=> 0
>> Dir.pwd
=> "c:/myscripts"

I think you're making a mountain out of a molehill. Ruby interprets the 
path properly. Keep it to '/' and do input sanitation when the user 
tries to give you a '\'

Yet, I don't know what you're doing, so..

>> PLATFORM
=> "i386-mswin32"
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to