# SVN question?

**URL:** <https://www.ruby-forum.com/t/svn-question/147520>\
**Category:** Rails\
**Created:** [September 2, 2008, 6:59pm UTC](https://www.ruby-forum.com/t/svn-question/147520 "2008-09-02T18:59:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 2, 2008, 6:59pm UTC](https://www.ruby-forum.com/t/svn-question/147520/1 "2008-09-02T18:59:08Z")

</div>

I am using running rails using instant rails and was trying to install  
the acts\_as\_ferret plugin located at svn://site\_ad. I have a SVN  
cleint on my machine tortoise but I can not get the pug in to install.  
i type the typical command and it does not do anything.

ruby script/plugin install  
svn://projects.jkraemer.net/acts\_as\_ferret/tags/stable/acts\_as\_ferret

on a related note, if i dl the plugin and want to install it form a  
local location i can get the command to recognize the location of the  
plugin

plugin script/plugin install c:/directory/sub\_d/acts\_as\_ferret

thanks!

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 5, 2008, 3:24am UTC](https://www.ruby-forum.com/t/svn-question/147520/2 "2008-09-05T03:24:51Z")

</div>

any suggestions out there?

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 5, 2008, 9:42am UTC](https://www.ruby-forum.com/t/svn-question/147520/3 "2008-09-05T09:42:21Z")

</div>

On Sep 5, 2:24 am, “tashfeen.ekram” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> any suggestions out there?
> 
> On Sep 2, 9:58 am, “tashfeen.ekram” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > I am using running rails using instant rails and was trying to install  
> > the acts\_as\_ferret plugin located atsvn://site\_ad. I have aSVN  
> > cleint on my machine tortoise but I can not get the pug in to install.  
> > i type the typical command and it does not do anything.

But do you have a command line svn client ? Can you run  
svn

from the command prompt?

Fred

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 5, 2008, 11:48am UTC](https://www.ruby-forum.com/t/svn-question/147520/4 "2008-09-05T11:48:07Z")

</div>

Plan B to install a plugin would be.  
Download the entire plugin into your /vendor folder. You wont get the  
SVN advantage.

On Sep 5, 12:41 pm, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 5, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/svn-question/147520/5 "2008-09-05T12:50:15Z")

</div>

Hi tashfeen: I just recently submitted a rubygem for installing  
subprojects. If you’d like, you could try it to see if it works. It  
should at least give you an error message if it fails. (I don’t know  
why script/plugin install wouldn’t give you an error though, makes me  
think something strange is happening.)

this is what you’d do, from your main application’s directory (not  
from vendor/plugins)

gem install ext  
ext install  
svn://projects.jkraemer.net/acts\_as\_ferret/tags/stable/acts\_as\_ferret

It will automatically realize you’re using subversion, and also  
automatically realize it’s a rails app and that acts\_as\_ferret belongs  
in vendor/plugins.

If you try it out and it winds up failing, I’d be interested in  
knowing what error message you get.

Cheers.

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 6, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/svn-question/147520/6 "2008-09-06T17:13:09Z")

</div>

Thanks for the replies!

I did nto realize you can install a plugin by just putting in the  
vendor directory. that makes it pretty easy. just for future ref why  
does not the following command find the plugin:  
ruby script/plugin install c:/directory/sub\_d/acts\_as\_ferret

I guess my original prob is that i do not have svn available from the  
command line. i have SVN from tortoise for windows that comes with the  
nice ui but i guess not command line svn. any recs for one?

Miles I tired your gem and got the below:

C:\ror\rails\_apps\project\>ext install  
svn://projects.jkraemer.net/acts\_as\_ferret/t  
ags/stable/acts\_as\_ferret  
C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/…/lib/externals/  
ext.rb:471:in  
`init': Could not determine this projects scm (RuntimeError) from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/../lib/ externals/e xt.rb:284:in`install’  
from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/…/lib/  
externals/e  
xt.rb:154:in `send' from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/../lib/ externals/e xt.rb:154:in`run’  
from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/…/lib/  
externals/e  
xt.rb:153:in `chdir' from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/../lib/ externals/e xt.rb:153:in`run’  
from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/ext:5  
from C:/ror/ruby/bin/ext:19:in `load’  
from C:/ror/ruby/bin/ext:19

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 6, 2008, 10:24pm UTC](https://www.ruby-forum.com/t/svn-question/147520/7 "2008-09-06T22:24:43Z")

</div>

oh, is your main project not managed by git or subversion? That’s  
interesting, I hadn’t really thought about that.

Thanks for trying it and reporting back the error message.

ext tries to add the plugin to the ignore feature of your main  
project. If it can’t tell what scm the main project is, it can’t do  
that and it bails out.

I’ll consider adding an option to not update the ignore when using  
install, but for now it sounds like ext isn’t a good choice for how  
you’re currently managing/deploying your application.

Thanks again for the feedback tashfeen!

Miles

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [September 6, 2008, 10:29pm UTC](https://www.ruby-forum.com/t/svn-question/147520/8 "2008-09-06T22:29:23Z")

</div>

Oh, as for command line subversion clients for windows, the one I use  
is this one:

[http://www.collab.net/downloads/subversion/](http://www.collab.net/downloads/subversion/)

but, you could also try this one:

> **[Download SlikSVN Subversion client](https://sliksvn.com/download/)**
>
> Download SlikSVN, a free Windows command line client for Subversion. Get SlikSVN today!
