gems on Debian

P

pedro mg

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,
 
T

Todd Benson

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,

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>
 
B

Bas van Gils

--X1bOJ3K7DJ5YkBrT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,
Hi,
=20
after installing rubygems package in Debian, i can't seem to use the=20
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 install=
ing
them so I won't repeat that here.

G'luck

Bas


--=20
Bas van Gils <[email protected]>, 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 sic=
ut
quod est inferius, ad perpetranda miracula rei unius.


--X1bOJ3K7DJ5YkBrT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGcXK+o1paSC6CHbsRAusgAJ9uy7wRveOd2M4a1Xlutuf8Mx3IGQCgtUgb
ujQ1/RqMdtP8A22WOFK/pmw=
=9lv2
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top