From: Mark Hahn Date: 2001-10-21T06:16:28+09:00 Subject: [ruby-talk:22852] RE: FYI: ODBC problem I just discovered that my problem only happened when ODBC was included, like this: require 'odbc' include ODBC begin $conn = connect('SERVER', 'sa', 'xxxx') ensure $conn.disconnect end When I changed the code to ... require 'odbc' begin $conn = ODBC.connect('SERVER', 'sa', 'xxxx') ensure $conn.disconnect end ... it gave no error. I'm new to Ruby, could there be a namespace conflict with "connect"? If so, shouldn't there be some error telling me so? -----Original Message----- From: Mark Hahn [mailto:mchahn@facelink.com] Sent: Saturday, October 20, 2001 1:16 PM To: ruby-talk ML Cc: chw@ch-werner.de Subject: [ruby-talk:22851] FYI: ODBC problem I've downloaded and installed the current cygwin version of Ruby/ODBC (0.94?) on Ruby 1.6.3, Win2K sp2. When I try to open a MS SQL Server db, I get a seg fault: C:\fljava\ruby\ConvertGeo.rb:6: [BUG] Segmentation fault ruby 1.6.3 (2001-03-19) [i386-cygwin] 0 [sig] ruby 1648 stackdump: Dumping stack trace to ruby.exe.stackdump I will now give Ruby 1.6.4 a try.