Installing Ruby Gems
You can install Ruby Gems in your own home directory using the --install-dir DIR option to the gem command. Actually, since gem normally installs into the first path specified in your GEM_PATH environment variable, you could just add ~/mygems as the first element of GEM_PATH.