Forum: Ruby rubyscript2exe and gem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Guillaume M. (Guest)
on 2006-04-12 18:53
(Received via mailing list)
Is there a way to tag files in a gem according to their "function",
like documentation, code, etc. The reason I am wondering about this is
when I pack a program up with rubyscript2exe, it packages the entire
directory of a gem if one is required. For example, with FXRuby, all
the rdoc and C header files are packed up... 8 megs of useless data as
far as the ruby app is concerned (just the .so and 1 directory of ruby
files are actually needed).

If the the files were tagged, rubyscript2exe could make an intelligent
decision on what to include from the gem directory.

I am now thinking of having a separate installation of ruby without gem
and hand installed libraries just to run rubyscript2exe and avoid this
problem. But this seems long and more painful than it should be.

Any thoughts? Any better solution?

Guillaume.
This topic is locked and can not be replied to.