Forum: IronRuby Problems with

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sami A. (Guest)
on 2009-05-08 11:35
Hi all,

I hope this is the right forum to ask following question.

I am testing IronRuby 0.3 and trying to use ruby(ruby 1.8.7 (2008-08-11
patchlevel 72) [i386-mswin32]) application which works fine on my XP
machine. I have given correct paths to IronRuby but I get (The module
was expected to contain an assembly manifest. (Exception from HRESULT:
0x80131018)) error when IronRuby try to load assembly.

Here is code how I have initialized runtime:

      ScriptRuntimeSetup setup = new ScriptRuntimeSetup();
                new LanguageSetup(
                    new[] { "IronRuby" },
                    new[] { ".rb" }
            ScriptRuntime runtime = new ScriptRuntime(setup);
            ScriptEngine engine = Ruby.CreateEngine();
            List<string> paths = new List<string>();



So am I trying do something which is currently impossible with current
IronRuby implementation or did I do somekind of configuration mistake?
Ivan P. (Guest)
on 2009-05-08 12:05
(Received via mailing list)
You can use ironruby-dbi to access databases.
Or you can use the ADO.NET interfaces directly.

win32ole relies on C-extensions and they don't work on IronRuby
If your application depends on C-extensions they need to be ported to
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Author of IronRuby in Action (

Ogden Nash <
"The trouble with a kitten is that when it grows up, it's always a cat."
Sami A. (Guest)
on 2009-05-08 12:12
Thanks for your quick answer.

In my case this means porting to C#.

Tomas M. (Guest)
on 2009-05-08 20:27
(Received via mailing list)
What methods and modules do you use from Win32OLE? It might be actually
easy to implement them in Ruby using our .NET and COM interop features.

Sami A. (Guest)
on 2009-05-11 12:42
Mainly there is application handling through command prompt
(ShellExecute). I should first study more those interop features and of
course Ruby too cause both are quite new things for me.

This topic is locked and can not be replied to.