I would like to remove (uninstall) a particular gem. I installed the gem creator''s beta copy of their next release, but it''s problematic, and I neet to revert to the most recent stable version. How might i uninstall a particular gem?
On Tue, Nov 3, 2009 at 5:55 PM, RVince <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> How might i uninstall a particular gem?You *might* start with `gem --help` FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
On Tue, Nov 3, 2009 at 5:55 PM, RVince <rvince99-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> > I would like to remove (uninstall) a particular gem. I installed the > gem creator''s beta copy of their next release, but it''s problematic, > and I neet to revert to the most recent stable version. > > How might i uninstall a particular gem? >You''ll use the ''uninstall'' option instead of ''install''. For example, gem uninstall <gem-name> If you used ''sudo'' to install the gem, then you''ll have to do the following: sudo gem uninstall <gem-name> Good luck, -Conrad> > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
If you know the version (gem list GEMNAME) then you can: gem uninstall GEMNAME --version=VERSION i.e.: gem list test-unit *** LOCAL GEMS *** test-unit (2.0.5, 1.2.3) gem uninstall test-unit --version=1.2.3 Successfully uninstalled test-unit-1.2.3 On Nov 3, 9:23 pm, Conrad Taylor <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, Nov 3, 2009 at 5:55 PM, RVince <rvinc...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > > I would like to remove (uninstall) a particular gem. I installed the > > gem creator''s beta copy of their next release, but it''s problematic, > > and I neet to revert to the most recent stable version. > > > How might i uninstall a particular gem? > > You''ll use the ''uninstall'' option instead of ''install''. For example, > > gem uninstall <gem-name> > > If you used ''sudo'' to install the gem, then you''ll have to do the > following: > > sudo gem uninstall <gem-name> > > Good luck, > > -Conrad > >