Cornelius Schumacher writes:
Yes, in this combination and when you add $GEM_HOME/bin to your path it makes sense. It also gives an easy and safe way to uninstall all gems by just removing the directory.
Switching between different Ruby versions needs a versioned GEM_HOME, though. That's not difficult to set up, if you need it. Or you just remove the directory and start from scratch when switching to another Ruby version.
And you do need to add the symbolic links for the other executables which come with ruby, in particular irb, which is something you might type quite often.
I used to use rbenv a lot and I loved it except for the fact that I needed to compile my own ruby in order to take advantage of a gem sandbox. It would be nice if rbenv could see all system rubies and the gems associated to it. That plus something like https://github.com/mislav/rbenv-user-gems to overlay your own gems. -- Duncan Mac-Vicar P. - Director, Data Center Management; R&D SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-ruby+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ruby+owner@opensuse.org