D:\>ruby -d ./test.rb
Exception `LoadError' at D:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1112
- no su
ch file to load -- rubygems/defaults/operating_system
Exception `LoadError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mysql
Exception `LoadError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mechanize
./test.rb:5: [BUG] Segmentation fault
How can I fix it? TIA
By the way, if anyone who can change the situation here, the latest
one-click installer of ruby available so far ships with very old
patchlevel, which is sad..
There is a bug in either mechanize or mysql (I'm not sure which) that
when required together, cause a segfault. There was another post on
this list regarding the exact same issue a day or so ago. Might be
worth looking that up.
Rgds,
Ben
···
On Sat, Jun 20, 2009 at 9:42 AM, Rod Dik <roddiku@gmail.com> wrote:
Hello, I have the following ruby config on my winxp sp3 box
D:\>ruby -d ./test.rb
Exception `LoadError' at D:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1112
- no su
ch file to load -- rubygems/defaults/operating_system
Exception `LoadError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mysql
Exception `LoadError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mechanize
./test.rb:5: [BUG] Segmentation fault
How can I fix it? TIA
By the way, if anyone who can change the situation here, the latest
one-click installer of ruby available so far ships with very old
patchlevel, which is sad..
D:\>ruby -d ./test.rb
Exception `LoadError' at D:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1112
- no su
ch file to load -- rubygems/defaults/operating_system
Exception `LoadError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mysql
Exception `LoadError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mechanize
./test.rb:5: [BUG] Segmentation fault
How can I fix it? TIA
By the way, if anyone who can change the situation here, the latest
one-click installer of ruby available so far ships with very old
patchlevel, which is sad..
--
Posted via http://www.ruby-forum.com/\.
There is a bug in either mechanize or mysql (I'm not sure which) that
when required together, cause a segfault. There was another post on
this list regarding the exact same issue a day or so ago. Might be
worth looking that up.
Rgds,
Ben
Yeah, that was my post) Actually somehow that time the problem fixed
itself
the whole story is, I've started developing some app using mechanize and
mysql and over time it started crashing with segfault on some weird
occasions, showing completely usual lines like "a = 'hello'" as the
cause, so I decided to update my ruby patchlevel, one-click installer
ships with some very old build, so I had to delete ruby and install i
from binaries again
Apparently not, since you're asking about it again after requiring the same two files. Why don't you get a debugger and then a backtrace. It's hard to help you otherwise.
···
On Jun 20, 2009, at 2:05, Rod Dik <roddiku@gmail.com> wrote:
Ben Lovell wrote:
Hi,
There is a bug in either mechanize or mysql (I'm not sure which) that
when required together, cause a segfault. There was another post on
this list regarding the exact same issue a day or so ago. Might be
worth looking that up.
Rgds,
Ben
Yeah, that was my post) Actually somehow that time the problem fixed
itself