Gems on Debian

Hi,

after installing rubygems package in Debian, i can't seem to use the installed gems via "sudo gem install" although they install correctly.

I believe it is related to a path issue. What is the better (correct) way to make it work ?

thank you,

···

--
pedro g

This may be a dumb question, but I've seen a lot of people missing
this, so, are you using the require command like this (the correct
way):

require 'rubygems'
require '<your gem>'

<your code>

···

On 6/14/07, pedro mg <seti_out@tquadrado_out.com> wrote:

Hi,

after installing rubygems package in Debian, i can't seem to use the
installed gems via "sudo gem install" although they install correctly.

I believe it is related to a path issue. What is the better (correct)
way to make it work ?

thank you,
--
pedro g

Hi,

Hi,

after installing rubygems package in Debian, i can't seem to use the
installed gems via "sudo gem install" although they install correctly.

It seems that you're confusing the installation of gems and the use of them.
Gem installation is done with

  sudo gem install <someGem>

you can easily test if that works by running 'gem' from the shell (if it
doesn't, according to packages.debian.org, the gem binary is installed in
/usr/bin where it should be).

In another posting it was pointed out already how to use gems after installing
them so I won't repeat that here.

G'luck

  Bas

···

On Fri, Jun 15, 2007 at 01:05:02AM +0900, pedro mg wrote:

--
Bas van Gils <bas@van-gils.org>, http://www.van-gils.org
[[[ Thank you for not distributing my E-mail address ]]]

Quod est inferius est sicut quod est superius, et quod est superius est sicut
quod est inferius, ad perpetranda miracula rei unius.