gem install does not work correctly with sudo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gems (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gems
When I try to use gem directly with sudo, I get the following output:
silwol@
[sudo] password for silwol:
Bulk updating Gem source index for: http://
ERROR: While executing gem ... (Gem::GemNotFou
Could not find fhlow (> 0) in any repository
silwol@
When I call it with a sudo'ed environment, it works:
silwol@
root@silwol-
Bulk updating Gem source index for: http://
Successfully installed fhlow-1.91.0
root@silwol-
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.
Is this symptom still reproducible in 8.10 or 9.04?