On 1/13/06, Jamey Cribbs <cribbsj / oakwood.org> wrote:
> On Sat, 14 Jan 2006 04:00:36 +0900
> Wilson Bilkovich <wilsonb / gmail.com> wrote:
>
> > Do you have a link to the mailing list posting? I've been struggling
> > with Rubyscript2EXE, attempting to deploy a Ruby/GTK application I
> > wrote.  I'm having a lot of trouble bundling non-ruby/dll resources,
> > such as YAML files and glade configs.  I'm just about ready to write
> > an NSIS installer instead.
>
> Are you putting the non-ruby files in the application directory and
> using tar2rubyapp (or whatever it's called) in conjunction with
> rubyscript2exe?
>
> I've used rubyscript2exe a lot to deploy both FXRuby apps and Ruby-Gtk2
> apps and, if I remember correctly, if you place the non-ruby files like
> dlls and image files in the application directory that you use in
> conjunction with tar2rubyscript, it will include these files in the exe.
>
> HTH,
>
> Jamey Cribbs
>
Thanks for this reply.  I think it points out something fundamental in
my (lack of) understanding of RubyScript2EXE.  I've been using the
rscript2exe.rb file directly to package the app.  Should I be breaking
it into multiple steps in some way?  The examples on the Rubyscript
page show it being run directly, and from what I saw, they mention
tar2rubyscript only in the form of a dependency, not as something I
should be using myself.

By 'application directory', do you mean the same directory as the main
whatever_my_app_is.rb file that handles the creation of the Gtk
windows, etc?