Forum: IronRuby mysql + sequel

B41b83d4a4c50f65b22776cc616255dc?d=identicon&s=25 Dave Lilley (dglnz)
on 2011-05-11 08:37
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>


Note I do have the MYSQL .net 6.3.6 connector installed but don't know
how to access this via ruby code - anyone able to give me a connector
code snippet? showing the connection, table and control linkage code?

any help ?

TiA
Bec38d63650c8912b6ba9b557fb953b9?d=identicon&s=25 Roger Pack (rogerdpack)
on 2011-06-01 21:30
I had luck with sqlite3-ironruby
maybe there's a similar gem for ironruby mysql?
-roger-
This topic is locked and can not be replied to.