emerge ruby 2.2 instead of using rvm
Blasphamy, i know.
I for once wanted to try a new server with bare metal packages. I feel if I can get this right, when I finally chef or ansible my stack script together, I will win. Tis the hope anyways.
Here is what I did, but I'm open to suggestions on making it better as I feel i could go right to the last line of the following, but wanted to document something that worked at least. As root do (or add sudo)
emerge ruby emerge --autounmask-write ruby:2.2 dispatch-conf emerge ruby:2.2 eselect ruby set ruby22 ruby -v
All should be good. I may have had this autounmask-write stuff due to installing ruby first, which was 2.1 and not what i was after. As an aside i learned about this magical autounmask-write option now so I am thankful.
Hope this helps you, or me, in the future.

















