From: Eric Christopherson Date: 2011-05-23T23:27:41+09:00 Subject: Re: mysql gem failure On Fri, May 20, 2011 at 4:40 AM, Dave Lilley wrote: > This is cross posted from ironruby where I've not had any replies. > > Installed sequel gem okay but mysql throws up this error when i try to > install. > > C:\Documents and Settings\Owner\My Documents\ruby_test\rub > y_test>igem install mysql > Building native extensions.  This could take a while... > ERROR:  Error installing mysql: >        ERROR: Failed to build gem native extension. > > "C:/Program Files/IronRuby 1.1/bin/ir.exe" extconf.rb > extconf.rb:99: syntax error, unexpected end of file, expecting `end' > > > > Gem files will remain installed in C:/Program Files/IronRuby > 1.1/Lib/ruby/gems/1 > .9.1/gems/mysql-2.8.1 for inspection. > Results logged to C:/Program Files/IronRuby > 1.1/Lib/ruby/gems/1.9.1/gems/mysql-2 > .8.1/ext/mysql_api/gem_make.out > > C:\Documents and Settings\Owner\My Documents\ruby_test\rub > y_test> > > I would prefer to use the ruby gems as I'm using ironruby to generate > the GUI front end for data entry. > > any help ? I don't think IronRuby supports native extensions, which the mysql gem uses. You might have to use a .NET library (I've never used such a thing, so I don't know what to look for, but it'd probably be like JDBC for Java).