On 2017 M06 28, Wed 18:35:04 CEST Henne Vogelsang wrote:
> 
> Not if you use
> 
> install: --no-format-executable
> 
> in your gemrc.
> 
> I usually throw
> 
> export GEM_HOME=~/.gems
> 
> into the mix too. It gives you a nice separation to the system stuff.

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.

> HTH :-)

It does. Thanks a lot.

It would be great, if we would have a nicer Ruby experience out of the box, 
but I like the setup you described. This results in a nice experience.

-- 
Cornelius Schumacher <[email protected]>
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to