# How to remove a plugin installed with script/plugin install

**URL:** <https://www.ruby-forum.com/t/how-to-remove-a-plugin-installed-with-script-plugin-install/87956>\
**Category:** Rails\
**Created:** [March 7, 2007, 4:08am UTC](https://www.ruby-forum.com/t/how-to-remove-a-plugin-installed-with-script-plugin-install/87956 "2007-03-07T04:08:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phlip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed8c4c/32.png) [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Post date:** [March 7, 2007, 4:08am UTC](https://www.ruby-forum.com/t/how-to-remove-a-plugin-installed-with-script-plugin-install/87956/1 "2007-03-07T04:08:09Z")

</div>

Railsters:

The -x option sets your plugin up as an svn:external, to track updates  
automatically.

I tried to remove a plugin, and got this:

$ svn rm naugty-plugin/ --force  
D naughty-plugin/…  
…  
svn: ‘naughty-plugin’ is not under version control

That’s not a good sign. Then I svn ci my project, cap deploy it, and  
the plugin (and its ill effects) are still on the server.

How to croak an svn:externalled plugin?

–  
Phlip  
[http://c2.com/cgi/wiki?ZeekLand](http://c2.com/cgi/wiki?ZeekLand) ← NOT a blog!!

---

<div class="post-metadata">

**Author:** ![Phlip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed8c4c/32.png) [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Post date:** [March 7, 2007, 4:24am UTC](https://www.ruby-forum.com/t/how-to-remove-a-plugin-installed-with-script-plugin-install/87956/2 "2007-03-07T04:24:10Z")

</div>

On 6-Mar-07, at 10:03 PM, Phlip wrote:

> …  
> svn: ‘naughty-plugin’ is not under version control
> 
> That’s not a good sign. Then I svn ci my project, cap deploy it, and  
> the plugin (and its ill effects) are still on the server.
> 
> How to croak an svn:externalled plugin?
> 
> –  
> Phlip  
> [http://c2.com/cgi/wiki?ZeekLand](http://c2.com/cgi/wiki?ZeekLand) ← NOT a blog!!

Phillip, what does svn status tell you? Is the plugin listed as an  
external, ala:

X vendor/plugins/naughty-plugin

if it doesn’t show up this way, then it’s not an external defined entry.

svn propedit svn:externals vendor/plugins

will allow you to edit the externals directly.

Is it possible that you ran svn remove from the project root? and not  
svn remove vendor/plugins/naughty-plugin?

hopefully the above gets you further ahead. I’m hitting the hay now -  
l8r.

Cheers,  
Jodi  
General Partner  
The nNovation Group inc.  
www.nnovation.ca/blog

---

<div class="post-metadata">

**Author:** ![Phlip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed8c4c/32.png) [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Post date:** [March 7, 2007, 4:52am UTC](https://www.ruby-forum.com/t/how-to-remove-a-plugin-installed-with-script-plugin-install/87956/3 "2007-03-07T04:52:13Z")

</div>

Jodi S. wrote:

> X vendor/plugins/naughty-plugin

Yep.

> svn propedit svn:externals vendor/plugins
> 
> will allow you to edit the externals directly.

Google for that, aaaand here’s the tip:

[http://blog.opensourceconnections.com/2007/02/13/how-to-remove-plugins-installed-as-svnexternals/](http://blog.opensourceconnections.com/2007/02/13/how-to-remove-plugins-installed-as-svnexternals/)

The svn propedit svn:externals . --editor-cmd vi done it.

New question: Should that file contain this?

plugin ./script/plugin

I nuked it too, cap deploy, and the naughty-plugin didn’t follow me home  
this time!

I been banging on my plugins too much, huh?!

–  
Phlip  
[Redirecting...](http://www.greencheese.us/ZeekLand) ← NOT a blog!!!

---

<div class="post-metadata">

**Author:** ![Phlip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed8c4c/32.png) [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Post date:** [March 7, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/how-to-remove-a-plugin-installed-with-script-plugin-install/87956/4 "2007-03-07T16:47:59Z")

</div>

On 6-Mar-07, at 10:50 PM, Phlip wrote:

> Google for that, aaaand here’s the tip:
> 
> [http://blog.opensourceconnections.com/2007/02/13/how-to-remove-](http://blog.opensourceconnections.com/2007/02/13/how-to-remove-)  
> plugins-installed-as-svnexternals/
> 
> The svn propedit svn:externals . --editor-cmd vi done it.
> 
> New question: Should that file contain this?
> 
> plugin ./script/plugin

no it shouldn’t. ( I gather you ran that cmd from RAILS\_ROOT? )

the format of the externals file is

directory external\_path

for instance (all commands run from RAILS\_ROOT)

imac:~/Documents/dev/zoop jodi$ svn propget svn:externals vendor/plugins  
savage\_beast [http://svn.nnovation.ca/svn/savage\_beast/trunk](http://svn.nnovation.ca/svn/savage_beast/trunk)

means thtere’s a directory under vendor/plugins called ‘savage\_beast’  
that is externally linked to the url above.

one more note, you can use textmate to handled all svn propedits read:

[http://macromates.com/textmate/manual/](http://macromates.com/textmate/manual/)  
using\_textmate\_from\_terminal#the\_general\_editor\_variable

cheers,  
Jodi
