Hassan Schroeder wrote in post #987216:
> On Sun, Mar 13, 2011 at 9:51 AM, Micah Wolfe <52w7te9ara / snkmail.com>
> wrote:
>
> What happens if you run the snippet below as a standalone script?
>
> # start snippet
> require 'rubygems'
> require 'mysql'
>
> puts "checking -- #{Mysql.class.name}"
> borderDB = Mysql::new('localhost', 'root', '', 'test')
> puts "checking -- #{borderDB.class.name}"
> # end snippet


Hi Hassan,

Thanks for the reply.

I get this:
checking -- Class
./Desktop/test.rb:5:in `initialize': wrong number of arguments (4 for 0) 
(ArgumentError)
  from ./Desktop/test.rb:5:in `new'
  from ./Desktop/test.rb:5

I don't think this is a script problem, but everything seems to check 
out with the MySQL, and the other gems.

See why I'm tearing my hair out?

Thank you again for the reply.

Best,
Micah

-- 
Posted via http://www.ruby-forum.com/.