From: wys@... (Clemens Wyss) Date: 2000-12-19T18:40:02+09:00 Subject: [ruby-talk:7669] RE: ARGV not working under Windows (2000) ...hmmm. looks like the "problem" only shows up when launching a ruby program through its file extension: z:\>test.rb foo bar foo and bar are not seen! The file extension-association seems to be ok, i.e: .rb -> D:\ruby\bin\ruby.exe %1 Clemens Aleksi Niemel wrote in : >On W2K: > > Z:\>ruby -v > ruby 1.6.2 (2000-10-11) [i386-cygwin] > Z:\>ruby -e'p ARGV' -- --foo arg1 arg 2 --bar > ["--foo", "arg1", "arg", "2", "--bar"] > >It might help others if you tell the exact version of your Ruby on W2K. >Is it the one installed from the kit? > > - Aleksi >