# Plugins still exist even though they're deleted?

**URL:** <https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685>\
**Category:** Rails\
**Created:** [June 21, 2009, 4:29am UTC](https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685 "2009-06-21T04:29:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [June 21, 2009, 4:29am UTC](https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685/1 "2009-06-21T04:29:06Z")

</div>

So I deleted some plugins from my app on my local machine and pushed  
the changes to my git repository. Using capistrano to update the code,  
I found that the plugins still exist in the current directory! Does  
anyone have any ideas as to what is causing this?

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [June 21, 2009, 7:16am UTC](https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685/2 "2009-06-21T07:16:53Z")

</div>

Mike C wrote:

> So I deleted some plugins from my app on my local machine and pushed  
> the changes to my git repository. Using capistrano to update the code,  
> I found that the plugins still exist in the current directory! Does  
> anyone have any ideas as to what is causing this?

Did you enter “rm …” or “git rm …”?

–  
Phlip

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [June 21, 2009, 10:45am UTC](https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685/3 "2009-06-21T10:45:06Z")

</div>

What do you mean? When I deleted them from my local machine I just  
deleted the folder (dragged into trash and emptied).

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [June 21, 2009, 1:49pm UTC](https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685/4 "2009-06-21T13:49:34Z")

</div>

try  
git commit -a -m ‘comment’

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [June 21, 2009, 12:17pm UTC](https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685/5 "2009-06-21T12:17:39Z")

</div>

On Jun 21, 9:44 am, Mike C [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> What do you mean? When I deleted them from my local machine I just  
> deleted the folder (dragged into trash and emptied).

If you did that then you didn’t actually delete them from your  
repository.

Fred

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [June 21, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685/6 "2009-06-21T20:45:14Z")

</div>

Thanks, that seems to have done the trick since but I’ll test again to  
make sure. What does that -a option do?

---

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [June 22, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/plugins-still-exist-even-though-theyre-deleted/170685/7 "2009-06-22T18:54:12Z")

</div>

it adds everything in the current directory to your git repository.
