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?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You should always use RubyGems to install any kind of Gems (eg. Rails) to reduce confusion.
You should use
rvmis also an option (see below).
You should not mix between using
That means you should not, but when you do;
you should know and remember why you did this.
When you use different methods, the overall system gets more complex.