edit: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/Ruby/redist-libs/ruby/site_ruby/1.8/rubygems/platform.rb;C1084571
File: platform.rb
===================================================================
--- $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/Ruby/redist-libs/ruby/site_ruby/1.8/rubygems/platform.rb;C1084571  (server)    3/3/2010 11:37 PM
+++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/External.LCA_RESTRICTED/Languages/Ruby/redist-libs/ruby/site_ruby/1.8/rubygems/platform.rb;config
@@ -70,6 +70,8 @@
                       when /hpux(\d+)/ then            [ 'hpux',      $1  ]
                       when /^java$/, /^jruby$/ then    [ 'java',      nil ]
                       when /^java([\d.]*)/ then        [ 'java',      $1  ]
+                      when /^\.net$/ then              [ '.net',      nil ]
+                      when /^\.net([\d.]*)/ then       [ '.net',      $1  ]
                       when /linux/ then                [ 'linux',     $1  ]
                       when /mingw32/ then              [ 'mingw32',   nil ]
                       when /(mswin\d+)(\_(\d+))?/ then
===================================================================
edit: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libs/rbconfig.rb;C1599184
File: rbconfig.rb
===================================================================
--- $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libs/rbconfig.rb;C1599184  (server)    3/3/2010 10:39 PM
+++ Shelved Change: $/Dev10/feature/vs_langs01_s/Merlin/Main/Languages/Ruby/Libs/rbconfig.rb;config
@@ -16,9 +16,17 @@
 
 module Config
   CONFIG = {}
-  CONFIG["MAJOR"] = "1"
-  CONFIG["MINOR"] = "8"
-  CONFIG["TEENY"] = "6"
+  RUBY_VERSION =~ /
+    (\d)
+    \.
+    (\d)
+    \.
+    (\d)
+    /x
+  abort("Could not parse RUBY_VERSION") unless $~.size == 4
+  CONFIG["MAJOR"] = $1
+  CONFIG["MINOR"] = $2
+  CONFIG["TEENY"] = $3
   CONFIG["PATCHLEVEL"] = "0"
   CONFIG["EXEEXT"] = ".exe"
   # This value is used by libraries to spawn new processes to run Ruby scripts. Hence it needs to match the ir.exe name
@@ -73,8 +81,9 @@
   CONFIG["host_cpu"] = "i686"
   CONFIG["host_vendor"] = "pc"
   CONFIG["host_os"] = "mswin32"
-  CONFIG["target"] = "i386-pc-mswin32"
-  CONFIG["target_alias"] = "i386-mswin32"
+  clr_version = "#{System::Environment.Version.Major}.#{System::Environment.Version.Minor}"
+  CONFIG["target"] = ".net#{clr_version}"
+  CONFIG["target_alias"] = CONFIG["target"]
   CONFIG["target_cpu"] = "i386"
   CONFIG["target_vendor"] = "pc"
   CONFIG["target_os"] = "mswin32"
@@ -139,8 +148,7 @@
   CONFIG["COMMON_HEADERS"] = "winsock2.h windows.h"
   CONFIG["DISTCLEANFILES"] = "vc*.pdb"
   CONFIG["EXPORT_PREFIX"] = " "
-  CONFIG["arch"] = "i386-mswin32"
-  CONFIG["sitearch"] = "i386-msvcrt"
+  CONFIG["arch"] = "universal-.net#{clr_version}"
   CONFIG["configure_args"] = "--with-make-prog=nmake --enable-shared --with-winsock2"
   CONFIG["ruby_version"] = "$(MAJOR).$(MINOR)"
   CONFIG["archdir"] = "$(rubylibdir)/$(arch)"
===================================================================
