If you're using Ubuntu, here's a handy shellscript to automate things.<p>I'm linking to the original. I also forked it to slightly tweak the behavior when creating the /usr/bin/ruby|gem|etc symlinks to play nicer with an installed ruby:<p>Original:
<a href="http://gist.github.com/37213" rel="nofollow">http://gist.github.com/37213</a><p>My fork:
<a href="http://gist.github.com/40302" rel="nofollow">http://gist.github.com/40302</a>