Thats interesting.  In Tk, I have to tell the main window where the
my_icon.ico will be at execution time. I would like to know if this is
the norm, or am I taking the long route?  You mentioned earlier that
in rubyscript2exe, that wxruby was getting copied twice into the exe,
causing the larger exe file. Do you know of any workarounds?

On 9/19/07, David Mullet <david.mullet / gmail.com> wrote:
>
> I work with wxRuby, not TK. In wxRuby, I set the icon with:
>
>  set_icon(Icon.new('my_icon.ico'))
>
> No path, just the filename.
>
> Then I include the line:
>
>  RUBYSCRIPT2EXE.bin=['my_icon.ico']
>
> That always works for me.
>
> David
>
> --
> Posted via http://www.ruby-forum.com/.
>
>