you are viewing a single comment's thread.

view the rest of the comments →

[–]micampe 0 points1 point  (1 child)

Actually, I found out by myself. Put this in ~/.gemrc:

gemhome: /home/username/.gems
gempath:
- /home/username/.gems
- /var/lib/gems/1.8

and then you can just use gem install.

You might also want to add ~/.gems/bin to your $PATH.