On 6/7/06, John Gabriele <[EMAIL PROTECTED]> wrote:

> What is "the datadir issue"?

This refers to the problem of how to deal with application data in
Gems. For example, if your GUI application requires a bunch of image
files that are loaded at run time, where do you load them from? What
if different versions of your application require different sets of
image files?

In the same way you just type:

    require 'some_library'

and RubyGems magically finds the right code, in the latest gem, it
would be useful to be able to do this:

    icons_dir = File.join(Config.datadir('my_app'), "icons")

and trust that it will find your application's data files (and, the
right versions of those files).

Hope this helps,

Lyle
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to