From: Yuki Sonoda Date: 2011-05-31T11:48:43+09:00 Subject: [ruby-core:36617] [Backport92 - Backport #4208][Feedback] ENV.delete warns even if it succeeded on Windows. Issue #4208 has been updated by Yuki Sonoda. Status changed from Assigned to Feedback It is not reproducible with (Ruby 1.9.2 HEAD, mswin32_100, Windows 7). Is it still reproducible in your environment? ---------------------------------------- Backport #4208: ENV.delete warns even if it succeeded on Windows. http://redmine.ruby-lang.org/issues/4208 Author: Heesob Park Status: Feedback Priority: Normal Assignee: Yuki Sonoda Category: core Target version: ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [i386-mswin32_90] =begin C:\work>ruby -ve "ENV['foo']='bar';ENV.delete('foo');p ENV['foo']" ruby 1.9.2p136 (2010-12-25 revision 30365) [i386-mswin32_90] -e:1: warning: failed to set environment variable. Ruby 1.9.3 will raise SystemCallError in this case. nil This bug is related with http://redmine.ruby-lang.org/issues/show/3825 =end -- http://redmine.ruby-lang.org