TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


Forums >


Segfault when requiring both mysql and mechanize

Rod Dik

6/13/2009 3:20:00 PM

Hello, there's a simple script

require 'rubygems'
require 'mysql'
require 'mechanize' #it works if I delete this string

m = Mysql.new('localhost', 'h3', 'h3', 'h3')

that fails with

C:/Program Files/ActiveState Komodo IDE
5/lib/support/dbgp/rubylib/rdbgp/processor.rb:370: [BUG] Segmentation
ruby 1.8.6 (2008-08-11) [i386-mswin32]

but, doesn't fail if I comment out the string requiring mechanize. How
can I fix it? TIA
Posted via http://www.ruby-....