Looks like Ruby 1.9 stabilized a bit and Ruby-GNOME2 has worked for me with it

Hey all,

A few days ago I gave Ruby-GNOME2 a try and ran into the “visible?”
issue
as well, but as of now, it seems to be working when running my
application
and this test:

[email protected]:~/t_/test_downloads/ruby-gnome2/ruby-gnome2/trunk/gtk/sample/misc$
/opt/ruby-1.9.1/bin/ruby button.rb

Which was “crashing” for me I think. It does have a call to “visible?”
in it:

[…]
0.upto(8) do |i|
button[i].signal_connect(“clicked”) do |w|
p [i]
j = (i + 1) % 9
if button[j].visible?
[…]

My Ruby 1.9 version:
ruby 1.9.0 (2008-05-22 revision 16533) [i686-linux]

My SVN checkout:
[email protected]:~/3p_repos/ruby$ svn log --limit 1

r16533 | nobu | 2008-05-22 08:20:56 -0300 (Qui, 22 Mai 2008) | 3 lines

  • marshal.c (check_dump_arg, check_load_arg): check if reentered.
    [ruby-dev:34802]

I hope it works for other folks as well!

Cheers,
Joao

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