From: Vit Ondruch Date: 2009-10-15T16:53:49+09:00 Subject: [ruby-core:26098] [Bug #2216] Command line parameter's order should not be significant Bug #2216: Command line parameter's order should not be significant http://redmine.ruby-lang.org/issues/show/2216 Author: Vit Ondruch Status: Open, Priority: Normal ruby -v: ruby 1.9.2dev (2009-10-07) [i386-mswin32_90] I would expect that following two examples will have the same result: c:\>r192vc-w32\bin\ruby.exe -I. -Cc:\temp -e 'p $:' ["c:/", "c:/r192vc-w32/lib/ruby/site_ruby/1.9.1", "c:/r192vc-w32/lib/ruby/site_ruby/1.9.1/i386-mswin32_90", "c:/r192vc-w32/lib/ruby/site_ruby", "c:/r192vc-w32/lib/ruby/vendor_ruby/1.9.1", "c:/r192vc-w32/lib/ruby/vendor_ruby/1.9.1/i386-mswin32_90", "c:/r192vc-w32/lib/ruby/vendor_ruby", "c:/r192vc-w32/lib/ruby/1.9.1", "c:/r192vc-w32/lib/ruby/1.9.1/i386-mswin32_90"] c:\>r192vc-w32\bin\ruby.exe -Cc:\temp -I. -e 'p $:' ["c:/temp", "c:/r192vc-w32/lib/ruby/site_ruby/1.9.1", "c:/r192vc-w32/lib/ruby/site_ruby/1.9.1/i386-mswin32_90", "c:/r192vc-w32/lib/ruby/site_ruby", "c:/r192vc-w32/lib/ruby/vendor_ruby/1.9.1", "c:/r192vc-w32/lib/ruby/vendor_ruby/1.9.1/i386-mswin32_90", "c:/r192vc-w32/lib/ruby/vendor_ruby", "c:/r192vc-w32/lib/ruby/1.9.1", "c:/r192vc-w32/lib/ruby/1.9.1/i386-mswin32_90"] However, as you can see from the first entry, the result is different. This is confusing behavior. ---------------------------------------- http://redmine.ruby-lang.org