edit: $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/IronRuby.Tests/Runtime/HostingTests.cs;C934738
File: HostingTests.cs
===================================================================
--- $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/IronRuby.Tests/Runtime/HostingTests.cs;C934738  (server)    7/31/2009 1:49 PM
+++ Shelved Change: $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/IronRuby.Tests/Runtime/HostingTests.cs;ConsoleFixes
@@ -198,9 +198,8 @@
 
         public void Scenario_RubyInteractive1() {
             ScriptScope scope = Runtime.CreateScope();
-            AssertOutput(delegate() {
-                Engine.CreateScriptSourceFromString("1+1", SourceCodeKind.InteractiveCode).Execute(scope);
-            }, "=> 2");
+            AssertOutput(() => Engine.CreateScriptSourceFromString("", SourceCodeKind.InteractiveCode).Execute(scope), "");
+            AssertOutput(() => Engine.CreateScriptSourceFromString("x = 1 + 1", SourceCodeKind.InteractiveCode).Execute(scope), "=> 2");
         }
 
         public void Scenario_RubyInteractive2() {
===================================================================
edit: $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Ruby/Hosting/RubyCommandLine.cs;C1015892
File: RubyCommandLine.cs
===================================================================
--- $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Ruby/Hosting/RubyCommandLine.cs;C1015892  (server)    7/31/2009 1:36 PM
+++ Shelved Change: $/Dev10/feature/vs_langs01/Merlin/Main/Languages/Ruby/Ruby/Hosting/RubyCommandLine.cs;ConsoleFixes
@@ -65,6 +65,16 @@
             return RunFile(Engine.CreateScriptSourceFromFile(RubyUtils.CanonicalizePath(fileName), (((RubyContext)Language).RubyOptions.KCode ?? RubyEncoding.Binary).Encoding));
         }
 
+        protected override void ExecuteCommand(string command) {
+#if SILVERLIGHT
+            base.ExecuteCommand(command);
+#else
+            var kcode = ((RubyContext)Language).RubyOptions.KCode;
+            var encoding = kcode != null ? kcode.Encoding : System.Console.InputEncoding;
+            ExecuteCommand(Engine.CreateScriptSource(new BinaryContentProvider(encoding.GetBytes(command)), null, encoding, SourceCodeKind.InteractiveCode));
+#endif
+        }
+        
         protected override Scope/*!*/ CreateScope() {
             Scope scope = base.CreateScope();
             scope.SetVariable(SymbolTable.StringToId("iron_ruby"), Engine);
===================================================================
