On May 20, 3:46 am, dave <[email protected]> wrote: > As I couldn't get mysql gem installed via ironruby i found this gem > mysql-2.8.1 x86-mswin32 and installed it successfully.
That's a compiled C extension designed for MRI. I didn't think that IronRuby supported that. > As a test i tried to get the mysql server version via my code that i > know works from standard ruby and got these errors.... > > mysql (2.8.1 x86-mswin32) > polyglot (0.3.1) > pony (1.2) > sequel (3.23.0) > treetop (1.4.9) > > C:\ex riki's\monitoring screen>ir sequel1.rb > C:/Program Files/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/ > custom_require.rb:28:in `r > equire': LoadError: The module was expected to contain an assembly > manifest. (Ex > ception from HRESULT: 0x80131018) (Sequel::AdapterNotFound) > from C:/Program Files/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/ > custom_requir > e.rb:28:in `require' > from C:/Program Files/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/ > custom_requir > e.rb:28:in `require' > from C:/Program Files/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/ > custom_requir > e.rb:28:in `require' > from C:/Program Files/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/ > custom_requir > e.rb:28:in `require' > from C:/Program Files/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/ > custom_requir > e.rb:28:in `require' > > C:\ex riki's\monitoring screen> > > any help or way to fix this?? Use something besides IronRuby. This isn't just a database adapter thing, last time I tested IronRuby it had issues with superclass lookup, which is a fairly basic ruby feature. Most of the test suite passed, but it's still not something I'd recommend for production use. Since you are on Windows, I recommend either RubyInstaller's package of ruby 1.8.7 or 1.9.2 (with that gem) or JRuby (with the jdbc-mysql) gem. Jeremy -- 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.
