Skip to content

Tag Archives: gems

Installing ruby gems in your home directory

I found it hard to find good instructions for installing ruby gems as a non-root user without installing the gem package locally as well. Here’s what I figured out; hopefully this will save someone else some time in the future:
Make a directory for gem installation:
$> mkdir ~/.gems
Set up your .gemrc for gem install-time configuration:
$> cat [...]