From: Micah Wolfe <52w7te9ara@...> Date: 2011-03-06T19:05:26+09:00 Subject: Re: Newbie having serious problems Greetings, Thank you all for the help. I fixed the connection. Have everything installed properly (as far as I can tell - gem list gives me the whole bundle including: mysql (2.8.1)). MySQL working fine. So now I get this error when trying to run the script from a shell: Command: $ ruby ./Desktop/gen_encpolygons.rb Returns: ./Desktop/gen_encpolygons.rb:11:in `initialize': wrong number of arguments (4 for 0) (ArgumentError) from ./Desktop/gen_encpolygons.rb:11:in `new' from ./Desktop/gen_encpolygons.rb:11:in `generate_js_border_overlay' from ./Desktop/gen_encpolygons.rb:95 I've googled extensively for similar argument errors, and I'm not finding any good matches (or solutions). ...so I opened an irb session to try a little test: Command: Mysql::new('localhost', 'root', '', 'my_database') Returns: NameError: uninitialized constant Mysql from (irb):1 Then I checked for the gem: >> require 'mysql' => true I'm really lost here. Best, Micah Attachments: http://www.ruby-forum.com/attachment/6000/gen_encpolygons.rb -- Posted via http://www.ruby-forum.com/.