If a package is available both through apt-get and gem, which one should I choose?
I'm on Ubuntu and I don't know if I should install rake through apt-get or gem.
I use both apt-get and gem packages a lot.
What are the pros and cons with each?
You should always use RubyGems to install any kind of Gems (eg. Rails) to reduce confusion.
You should use
rvm + gem
You should not mix between using
When you use different methods, the overall system gets more complex.