You actually don't need to remove it if you want to use it for $LOAD_PATH 
support. Just change the private keys to null, instead of the 31...... number.

JD

From: [email protected] 
[mailto:[email protected]] On Behalf Of Tomas Matousek
Sent: Saturday, February 07, 2009 5:39 PM
To: [email protected]
Subject: Re: [Ironruby-core] how to initialize iron ruby from c#

The release on DLR CodePlex is broken. We are working on a fix. The problem is 
in signed assemblies. Removing ir.exe.config (located next to ir.exe) might 
help.

Tomas

From: [email protected] 
[mailto:[email protected]] On Behalf Of Meinrad Recheis
Sent: Saturday, February 07, 2009 3:34 PM
To: [email protected]
Subject: [Ironruby-core] how to initialize iron ruby from c#

Hi there,

I am trying to initialize an iron ruby engine for execution of code snipptes 
from a c# application. extensive googling has not helped me with the task 
because there seem to have been much changes in iron ruby lately.

Here is my code:
var runtime = Ruby.CreateRuntime();
var engine = m_runtime.GetEngine("IronRuby"); // <--- 
InvalidImplementationException is thrown here

This is the inner exception.

{"Could not load file or assembly 'IronRuby.Libraries, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system 
cannot find the file specified.":"IronRuby.Libraries, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=null"}

This happens with the latest nightly build of DLR binaries. I did make sure 
that IronRuby.Libraries.dll is added in the References of the project but it 
still can't be loaded. Did I miss something obvious?

Any help would be much appreciated.
Thanks,
-- Henon
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to