Connect to MySQL in Ruby using NetBeans
Posted
by Varun
on Stack Overflow
See other posts from Stack Overflow
or by Varun
Published on 2010-04-21T00:11:56Z
Indexed on
2010/04/21
0:13 UTC
Read the original article
Hit count: 210
I've downloaded the "dbd-mysql-0.4.4.zip" and linked it to my project. While I try to run a demo code from NetBeans the very first line
require "dbi"
gives me an error. Is there a different way to do it?
I also tried jruby setup.rb config --with=dbi,dbd_mysql
from the command prompt and it gave me the following error: config: unknown option --with=dbi,dbd_mysql Try 'ruby setup.rb --help' for detailed usage.
Any suggestions please?
© Stack Overflow or respective owner