Ruby mysql gem error
I have install the mysql gem but am falling at the first hurdle:

     initialize': wrong number of arguments(4 for 0) (ArgumentError)
     from open.rb:14:in `new' 
     from open.rb:14:in `<main>'

Is the result from this code:

     require 'mysql'
     
     db = Mysql.new('localhost','root','','test')
     puts db

I was following the code from this tutorial:

http://rubylearning.com/satishtalim/ruby_mysql_tutorial.html

It just looks like the new method is not going to accept 4 arguments. I have no idea why. Mysql.new creates a new object just fine.
Ruby mysql gem error
===

I have install the mysql gem but am falling at the first hurdle:

     initialize': wrong number of arguments(4 for 0) (ArgumentError)
     from open.rb:14:in `new' 
     from open.rb:14:in `<main>'

Is the result from this code:

     require 'mysql'
     
     db = Mysql.new('localhost','root','','test')
     puts db

I was following the code from this tutorial:

http://rubylearning.com/satishtalim/ruby_mysql_tutorial.html

It just looks like the new method is not going to accept 4 arguments. I have no idea why. Mysql.new creates a new object just fine.