# Trouble installing plugins with script/plugin install

**URL:** <https://www.ruby-forum.com/t/trouble-installing-plugins-with-script-plugin-install/139014>\
**Category:** Rails\
**Created:** [May 29, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/trouble-installing-plugins-with-script-plugin-install/139014 "2008-05-29T22:39:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdeverea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Post date:** [May 29, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/trouble-installing-plugins-with-script-plugin-install/139014/1 "2008-05-29T22:39:21Z")

</div>

Greetings!  
I have come across a strange issue when trying to install any plugins  
into my rails project. When I run the ‘script/plugin install’ command  
nothing happens. I am just presented with a blank command prompt  
again. No install happens.

I’m trying to install attachment\_fu and restful\_authentication on Mac  
OS X and am running rails 2.0.2.

Does anyone have an idea of what’s going on?

Thanks!  
-bdeverea

---

<div class="post-metadata">

**Author:** ![bdeverea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Post date:** [May 30, 2008, 12:03am UTC](https://www.ruby-forum.com/t/trouble-installing-plugins-with-script-plugin-install/139014/2 "2008-05-30T00:03:22Z")

</div>

Are you on a proxy or something? Or is your connection slow?  
I’ve installed attachment\_fu with no problems. It’s a but slow but it  
works.

Try this:

first try installing it with this:  
./script/plugin install  
[http://svn.techno-weenie.net/projects/plugins/attachment\_fu/](http://svn.techno-weenie.net/projects/plugins/attachment_fu/)

if that doesn’t work, add the repository to your source list:  
./script/plugin source  
[http://svn.techno-weenie.net/projects/plugins/attachment\_fu/](http://svn.techno-weenie.net/projects/plugins/attachment_fu/)

now try installing it again, it should work. If nothing works at all,  
try it from the top again, but this time, add a ’ -v ’ after plugin  
like this:  
./script/plugin -v install  
[http://svn.techno-weenie.net/projects/plugins/attachment\_fu/](http://svn.techno-weenie.net/projects/plugins/attachment_fu/)

that is the verbose option and might give a clue as to whats wrong.

---

<div class="post-metadata">

**Author:** ![bdeverea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Post date:** [May 30, 2008, 12:21am UTC](https://www.ruby-forum.com/t/trouble-installing-plugins-with-script-plugin-install/139014/3 "2008-05-30T00:21:33Z")

</div>

Thanks for the response, Housni. I’ve tried all of your suggestions  
and nothing returns any output, including add the verbose flag.

As soon as I hit enter I immediately receive a blank command prompt.

---

<div class="post-metadata">

**Author:** ![bdeverea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Post date:** [May 30, 2008, 3:08pm UTC](https://www.ruby-forum.com/t/trouble-installing-plugins-with-script-plugin-install/139014/4 "2008-05-30T15:08:57Z")

</div>

Bdeverea-  
I’m guessing that ruby might not be in your path…try running this  
/usr/bin/env ruby  
on my win32 box, it doesn’t return immediately, but launches ruby. You  
can also run ‘which ruby’ and that should dump a path to ruby.  
-Dale

---

<div class="post-metadata">

**Author:** ![bdeverea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f6c823/32.png) [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Post date:** [May 30, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/trouble-installing-plugins-with-script-plugin-install/139014/5 "2008-05-30T15:37:17Z")

</div>

I sometimes have the same problem, so I usually directly checkout the  
whole code from the SVN repository and then manually run the  
install.rb script. This works almost every time.
