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?

link|improve this question

Wrong forum to post this on, this is more of a superuser.com question... when it closes, it will be migrated across.... – t0mm13b Aug 19 '10 at 22:48
@tommieb75: I can see why this would fit in SU, but I'm kind of surprised that it's not seen as programming-related. – Andrew Grimm Aug 19 '10 at 23:41
@Andrew: where does it say anything in the question in relation to programming....???!!! I do not see it... :) This is the right place for it and answers are below....! ;) – t0mm13b Aug 25 '10 at 22:17
feedback

migrated from stackoverflow.com Aug 19 '10 at 22:53

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 1 down vote accepted

You should always use RubyGems to install any kind of Gems (eg. Rails) to reduce confusion.

Ruby on Rails: gem install versus apt-get

link|improve this answer
feedback

Gem. Gem. GEM.

the ubuntu packages go stale for the most part.

Real men gem. :-)

link|improve this answer
Could you be more clear why Gem? – ajsie Aug 20 '10 at 2:09
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.