Problem with fxruby

Hi
When I require fox16 i get lots of warnings like

/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_SHOW_FILES
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_HIDE_FILES
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_TOGGLE_FILES
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_SHOW_HIDDEN
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_HIDE_HIDDEN
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_TOGGLE_HIDDEN
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_SET_PATTERN
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_SORT_REVERSE
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_SORT_CASE
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_REFRESH

I have ruby 1.8.5 and fxruby 1.6.11, but i also try 1.6.6. at the net I
found that this problem exists,but I can’t find way to resolve it.

Mariusz Pietrzyk wrote:

Hi
When I require fox16 i get lots of warnings like

/usr/lib/ruby/site_ruby/1.8/i686-linux/fox16.so: warning: already
initialized constant ID_SHOW_FILES

I have ruby 1.8.5 and fxruby 1.6.11, but i also try 1.6.6. at the net I
found that this problem exists,but I can’t find way to resolve it.

Can you update ruby to 1.8.6? IIRC that makes the warnings go away.

Joel VanderWerf pisze:

Can you update ruby to 1.8.6? IIRC that makes the warnings go away.

I’ve update ruby to 1.8.6 and it works.
Thanks!

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