Latest ruby-gnome2 and commandline parameters

With a recent ruby-gnome2 (0.15.0), the simple program:

require ‘gtk2’
puts “hello world”

will break on line one if it is called with an argument; with argument
–foo, it breaks with:

/usr/lib/ruby/site_ruby/1.8/gtk2.rb:13:in `init’: Unknown option --foo
(RuntimeError)
from /usr/lib/ruby/site_ruby/1.8/gtk2.rb:13
from tgtk.rb:1

how to fix? thanks!


Guillaume C. - http://zarb.org/~gc/


Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

On 7/15/06, Guillaume C. [email protected] wrote:

    from /usr/lib/ruby/site_ruby/1.8/gtk2.rb:13
    from tgtk.rb:1

how to fix? thanks!

Notice: I’m using http://zarb.org/~gc/t/rg2.patch now.


Guillaume C. - http://zarb.org/~gc/


Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Hi,

On Sat, 15 Jul 2006 15:23:07 +0200
“Guillaume C.” [email protected] wrote:

(RuntimeError)
from /usr/lib/ruby/site_ruby/1.8/gtk2.rb:13
from tgtk.rb:1

how to fix? thanks!

Notice: I’m using http://zarb.org/~gc/t/rg2.patch now.

Thanks.

I fixed it like your patch.


.:% Masao M.[email protected]


Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642