If gem files in the load path can be treated as a virtual file system
(VFS) then this should be possible, no?
Somebody would need to write that code, but it would only work for
gems without extensions to be compiled, and would not generate useful
documentation.
If gem files in the load path can be treated as a virtual file system
(VFS) then this should be possible, no?
Somebody would need to write that code, but it would only work for
gems without extensions to be compiled, and would not generate useful
documentation.
Those limitations are acceptable for me, as I’m trying to use pure-Ruby
gems anyway. I’ll try to write the VFS code during this holiday weekend
and submit a patch next week.
system
and submit a patch next week.
Were I writing it, I would make a Kernel#require overlay that knows
how to look inside a .gem file for the things it needs. No need to
extend File.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.