Fox 1.2 on one-click installer 1.8.5-21

I’ve switched to 1.8.5 just a few days ago and my scripts that use fox12
just generate 8338 warnings like the following:

:/dev/ruby/lib/ruby/gems/1.8/gems/fxruby-1.2.6-mswin32/ext/fox12/fox12.so:
warning: already initialized constant TREELIST_BROWSESELECT

I get this only by doing require ‘fox’ on an pretty much unchanged
installation.
Anyone now what’s wrong?
It’s really annoying since it just slows everything down when starting
something.
Cheers,
V.-

On 11/23/06, Damphyr [email protected] wrote:

I’ve switched to 1.8.5 just a few days ago and my scripts that use fox12
just generate 8338 warnings like the following:

<…>

I seem to recall some past messages in the list that said it was some
sort of bug in ruby 1.8.5. I ran into this problem myself :).

This is the suggested workaround:

$VERBOSE = nil
require ‘fox’
$VERBOSE = true

The warnings don’t seem to affect the actual workings of the program,
so just removing them seems to be fine.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs