Public bug reported:

Binary package hint: gems

When I try to use gem directly with sudo, I get the following output:

[EMAIL PROTECTED]:~$ sudo gem install fhlow
[sudo] password for silwol:
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find fhlow (> 0) in any repository
[EMAIL PROTECTED]:~$

When I call it with a sudo'ed environment, it works:

[EMAIL PROTECTED]:~$ sudo -s
[EMAIL PROTECTED]:~# gem install fhlow
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed fhlow-1.91.0
[EMAIL PROTECTED]:~# 

I don't know where the error lies, but in my opinion this should work
from within sudo directly, because this is the usual way many people
execute commands as root.

** Affects: gems (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gem install does not work correctly with sudo
https://bugs.launchpad.net/bugs/202446
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to