Tomas,

What reasons did we have for removing this in the first place? It also affects 
anyone writing code that uses our Ruby types/library methods in their own code 
(for providing the correct types to Ruby code); IronRuby.Rack does this.

As a work-around, are we really expecting people to use 
Microsoft.Scripting.Hosting.Providers.HostinHelpers.GetLanguageContext directly?

~Jimmy

From: Jimmy Schementi
Sent: Thursday, March 04, 2010 5:32 PM
To: Tomas Matousek
Cc: ironruby-core@rubyforge.org
Subject: IronRuby.Ruby.GetExecutionContext removed

including the mailing list as people might run into this ...

Tomas, I know you recently removed IronRuby.Ruby.GetExecutionContext; is there 
any other way to get to the instance of IronRuby.Ruby.RubyContext? I'd presume 
anyone hosting IronRuby and define ruby global variables was using 
DefineGlobalVariable; so they'd run into this. Looks like 
ScriptEngine.LanguageContext is now internal as well ...

I specifically found this while updating DLRConsole, and simply removed the 
places where I was using ruby global variables.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to