D
Daniel Phillips
Hello everyone, this is my first post here.
I've always been interested in Ruby and I'm finally starting to get my
hands dirty.
I'm having trouble getting a script connected to a MySQL database, I've
followed tutorials and downloaded the files from
http://rubyforge.org/projects/ruby-dbi and I ran the three commands to
config, setup and install the DBI.
But in my main ruby script when I require 'dbi' it fails and tells me
that the file couldn't be found, now obviously I can understand that my
script can't see the file I'm telling me to include, but I can't see any
explanation anywhere on which file I'm supposed to include, and some
tutorials have require 'mysql' - so Can anyone tell me what I'm doing
wrong ?
I'm on a UNIX system.
I've always been interested in Ruby and I'm finally starting to get my
hands dirty.
I'm having trouble getting a script connected to a MySQL database, I've
followed tutorials and downloaded the files from
http://rubyforge.org/projects/ruby-dbi and I ran the three commands to
config, setup and install the DBI.
But in my main ruby script when I require 'dbi' it fails and tells me
that the file couldn't be found, now obviously I can understand that my
script can't see the file I'm telling me to include, but I can't see any
explanation anywhere on which file I'm supposed to include, and some
tutorials have require 'mysql' - so Can anyone tell me what I'm doing
wrong ?
I'm on a UNIX system.