From: Ryan Davis Date: 2013-02-27T04:09:49+09:00 Subject: Re: Does 'gem list' go by .gemspec only? Iirc it uses the spec files in gem_path/specifications. Why manually delete? On Feb 26, 2013, at 10:53, Ron Lipke wrote: > Hello, Ruby beginner here trying to learn as much as I can. > > Does `gem list` use the GEM_PATH to find the actual install folders or > does it just look for the .gemspec files? > > I've noticed if I delete a gem's install folder manually and run `gem > list`, it will still show up in the list, but trying to use the gem in > anyway (including `gem uninstall`) returns an error until I delete the > associated .gemspec file as well. After that, the gem will no longer > show up in `gem list`. > > Thanks in advance for any clarification. > > -- > Posted via http://www.ruby-forum.com/. >