Hello all, again,

I am very new to the ruby world and I'm trying to get a pretty simple
script to open a database connection read from it do stuff with the
data, write to it and finally close it. However, in the process I've
become very confused. Do i need rails to have the database connection?
I looked at JDBC and I can't figure out how to tell it to open the
connection other than the database.yml file.
If someone could give me a tutorial link for getting the gem and
opening the connection, maybe even looping through the data, :) that
would be great.

Thanks,

Paul