# Re: what's in Gtk.init?

**URL:** <https://www.ruby-forum.com/t/re-whats-in-gtk-init/75533>\
**Category:** Ruby-Gnome 2\
**Created:** [November 10, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/re-whats-in-gtk-init/75533 "2006-11-10T19:07:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wang\_pengchao](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/d07c76/32.png) [@wang\_pengchao](https://www.ruby-forum.com/u/wang_pengchao)\
**Post date:** [November 10, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/re-whats-in-gtk-init/75533/1 "2006-11-10T19:07:05Z")

</div>

Hi, thanks for your reply, kou

But $0 has no problem, it’s a string I have assigned.

> Date: Thu, 09 Nov 2006 22:07:21 +0900 (JST)  
> From: Kouhei S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> Subject: Re: [ruby-gnome2-devel-en] what’s in Gtk.init?  
> To: removed\_email\_address@domain.invalid  
> Message-ID: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> Content-Type: Text/Plain; charset=us-ascii

> Hi,

> > In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> > “[ruby-gnome2-devel-en] what’s in Gtk.init?” on Thu, 9 Nov 2006  
> > 18:12:52 +0800,  
> > “wang pengchao” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > I’m trying to use gtk it in my own ruby project. My problem now is  
> > that I got this strange exception: “in init: can not convert false  
> > into String.” My ruby runtime environment is not standard one,  
> > embedded within another program(vim). So I suspect that some global  
> > variable is not assigned to correct object, but I really don’t know  
> > which one. Could somebody provide some help?

> Please check $0.

> > ```
> > Maybe just show me the
> > 
> > ```
> > 
> > code in that function, or the location in code base.

> I think so.

* * *

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](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![wang\_pengchao](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/d07c76/32.png) [@wang\_pengchao](https://www.ruby-forum.com/u/wang_pengchao)\
**Post date:** [November 11, 2006, 4:32am UTC](https://www.ruby-forum.com/t/re-whats-in-gtk-init/75533/2 "2006-11-11T04:32:23Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“Re: [ruby-gnome2-devel-en] what’s in Gtk.init?” on Sat, 11 Nov 2006  
02:05:16 +0800,  
“wang pengchao” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> But $0 has no problem, it’s a string I have assigned.

Try GDB.

> > > code in that function, or the location in code base.
> 
> > I think so.

Or show more details: Complete error message (including  
backtraces), your codes, and so on.

## Thanks,

kou

* * *

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](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
