Please, could these be added to the next version of Gems?

  module Gem

     # Is gem active?
     def active?(gemname)
       @loaded_specs ||= Hash.new
       @loaded_specs.key? gemname
     end

     # Return gemspec of active gem
     def gemspec(gemname)
       @loaded_specs[gemname] if active?(gemname)
     end

     # Return path of active gem
     def gempath(gemname)
       @loaded_specs[gemname].full_gem_path if active?(gemname)
     end

  end

I use this to get data files like so:

  DATADIR = File.join(Gem.gempath('calibre'), 'data', 'calibre',
'units')

Thanks,
T.