Uninstall a gem from home dir - how?

Hi

I am non superuser here so I can not install into anything else than my
home dir.

I can do this:

gem install --user-install

This works.

gem install --user-install configuration

But how to uninstall it again?

If I try this:

gem uninstall --user-install configuration

You have requested to uninstall the gem:
configuration-1.3.2
cookbooks-0.0.22 depends on [configuration (>= 1.0.0)]
diamond_shell-0.125 depends on [configuration (>= 1.0.0)]
diamond_shell-0.124 depends on [configuration (>= 1.0.0)]
ftp_paradise-1.0.16 depends on [configuration (>= 1.0.0)]
If you remove this gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn] Y
ERROR: While executing gem … (Gem::FilePermissionError)
You don’t have write permissions into the
/biosw/debian5-x86_64/ruby/1.9.3/lib/ruby/gems/1.9.1 directory.

It tells me that this is not possible because I have no write
permissions. Well I understand that, but I want to uninstall
from my home dir, not from the system dir. Can I somehow
specify to remove from home dir?

Edit: I just realized that it is installed in the sys dir … that is
bad.

Is there a way to specify to avoid using a gem, when two gems have the
same name but are actually different gems?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs