On Aug 25, 3:27 pm, Brett Veenstra <[email protected]> wrote:
> It blew as soon as I called:
>
> conn = WIN32OLE.new('ADODB.Connection')
>
> IronRuby 1.1.0.0 on .NET 4.0.30319.1
> Copyright (c) Microsoft Corporation. All rights reserved.
>
> >>> require 'win32ole'
> => true
> >>> conn = WIN32OLE.new('ADODB.Connection')
>
> (ir):1:in `inspect': Operation is not allowed when the object is
> closed. (System::Runtime::InteropServices::COMException)
>         from (ir):1
>
> Do I need to install MDAC or something silly like that?
>

If it runs fine with MRI 1.8.7 then it is probably an issue with
IronRuby and it's COM Interop support. If it does not then most likely
ADO is not installed on your machine.

You should also be aware that the Sequel specs don't all pass in
IronRuby, so even if you get past this issue, you are likely to run
into more.
http://groups.google.com/group/sequel-talk/browse_thread/thread/4b0829ec6b80b969/25642ba252c7b95c

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to