Genadinik Genadinik - 3 months ago 10
Ruby Question

Can I install gems with apt-get on Ubuntu?

I am new to Ruby and just diving in. The Ruby tutorial says I should get the packaging system from here: http://rubyforge.org/frs/?group_id=126

I am on Ubuntu Linux. The page has a .tar and a .gem option for downloading. Which should I download?

Also, are gems exactly analogous to Java jars? And why do I need the gem packaging system if I can just download gems one by one as they are needed?

Answer

First, download *.tar file, unpack this file, then go to rubygems directory in your console, and type

ruby setup.rb

That's it :)

Comments