"sudo gem uninstall -i /usr/share/rubygems-integration/all spring" fails due to "ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/share/rubygems-integration/all/bin directory."

Bug #1691731 reported by Karl-Philipp Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gem (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

`sudo gem uninstall -i /usr/share/rubygems-integration/all spring` fails due to

```
Remove executables:
 spring

in addition to the gem? [Yn] Y
ERROR: While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /usr/share/rubygems-integration/all/bin directory.
```

because `/usr/share/rubygems-integration/all/bin` doesn't exist, so the error message is misleading/wrong.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: gem 1:0.93.3-10build3
ProcVersionSignature: Ubuntu 4.10.0-21.23-generic 4.10.11
Uname: Linux 4.10.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Thu May 18 13:00:42 2017
InstallationDate: Installed on 2015-12-12 (522 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: gem
UpgradeStatus: Upgraded to zesty on 2017-05-01 (16 days ago)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
Revision history for this message
dino99 (9d9) wrote :
Changed in gem (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.