Install Ruby Gems without sudo

Ensure Gems are installed to home directory under ~/gems, by adding to ~/.profile:

export GEM_HOME=$HOME/gems
export PATH=$PATH:$HOME/gems/bin

This allows installing Ruby Gems without sudo.