"gem list" and "sudo gem list" yield different results

M

Mike Nicholaides

Hey there,

"sudo gem list" shows all my gems, while
"gem list" shows no gems.

As a result, I have to start mongrel with "sudo script/server", because
without sudo, it can't find my gems.

Any clues? Is this a permissions thing?

I'm doing this on a centos server.
 
L

Lyle Johnson

"sudo gem list" shows all my gems, while
"gem list" shows no gems.

Sounds to me that you have more than one Ruby/RubyGems installation.
You might want to compare the results of typing:

gem environment

with the results of typing:

sudo gem environment

Hope this helps,

Lyle
 

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

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top