From: Dirk Traulsen Date: 2007-10-18T03:27:36+09:00 Subject: Re: RubyGems Beta 0.9.4.5 Am 17 Oct 2007 um 23:41 hat Luis Lavena geschrieben: > Giles Bowkett wrote: > >> >> Under WinNT (and _all_ the versions based on that kernel). slash > >> >> and backslash works the same way for paths: > >> > > >> > This is not completely true: > > > >> In the script, the command is already quoted: > > > > I think he's just highlighting that there is a corner case. Sort of > > a footnote mail. Correct. Thanks Giles. > Sorry to sound too harsh, was 4am when I wrote that answer. At that > time my social skills were nil. > > But was a good point. > > When running ruby scripts I'm used to append "ruby" to the command > line, and not call script.rb directly: > > ruby script/server > ruby script/generate > ruby script/spec > > That's why I never found a issue with slashed paths... since Ruby do > the lifting. Well, as you said: Ruby itself naturally has no problem with '/' as a path separator. > Dirk, please excuse the harsh part of my previous mail. Thank you for your apology. (This really is a polite list!) I wasn' t really offended, as I just wanted to stress the point, that one cannot rely on MS Windows to parse '/' ALWAYS correctly. Sometimes, when one is lucky, one doesn't have to get burned oneself to learn and figuratively I already got burned.. > Regards and thanks for providing feedback on this. You're welcome.