论坛: 帮助论坛 (Thread #871)

How to use Tk w/ exerb? (2002-07-30 06:46 by qewrty #1546)

Hi!

How do I generate the .rbc file for a ruby script that requires Tk? Thanks for any help.

Philip

RE: How to use Tk w/ exerb? (2002-08-06 14:08 by knakano #1632)

Did you specify all dependent files in your rbc file?

NAKANO
回复到 #1546

RE: How to use Tk w/ exerb? (2002-08-07 08:29 by knakano #1633)

If you want to generate the .rbc file automatically, you can't do that.
We prepare no tool that generate the .rbc file automatically.
The .rbc file is written manually.

In future, maybe we provide some automatic tool.
But it won't be a perfect, because Ruby is too dynamic to make it a perfect.
回复到 #1632

RE: How to use Tk w/ exerb? (2002-08-07 23:00 by yuya #1637)

Hi.

Please try the following things.

$ ruby -r exerb/mkrbc yourscript.rb
$ exerb.rb yourscript.rbc
回复到 #1546

RE: How to use Tk w/ exerb? (2002-08-07 23:20 by knakano #1638)

Sorry!
I had been forgetting.
回复到 #1637