hmans/rbfu

Question about shared gems

trans opened this issue · 5 comments

Is there a way for each ruby to share a set of gems in addition to each having their own set?

I have a number of gems that I use that work fine across multiple versions of ruby --indeed they are tested to do so! So it seems like a waste of time and space to have to install them for each ruby version.

ln -s ;-)

@robertjung I think that will not work for the "in addition to" part, no?

You'd have to link the single gems, not the gem path itself. No waste of space, but still a waste of time...

It would be relatively easy to implement, but like many other things, this is purely a design decision meant to keep rbfu as simple and minimal (and sane) as possible. From what I've seen of how RVM deals with this, there's just too many ways to run into problems to really be worth the trouble.

(Sorry for the late reply, for some reason I must have missed the notification.)

Could you give me an idea on how it would be done? Maybe I can create a plugin?

Can GEM_HOME have more than one location? That would make it very easy.