# SVN question??

**URL:** <https://discuss.rubyonrails.org/t/svn-question/33904>\
**Category:** rubyonrails-talk\
**Created:** [September 2, 2008, 4:58pm UTC](https://discuss.rubyonrails.org/t/svn-question/33904 "2008-09-02T16:58:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tashfeen\_Ekram](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@Tashfeen\_Ekram](https://discuss.rubyonrails.org/u/Tashfeen_Ekram)\
**Post date:** [September 2, 2008, 4:58pm UTC](https://discuss.rubyonrails.org/t/svn-question/33904/1 "2008-09-02T16:58:23Z")

</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://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@Tashfeen\_Ekram](https://discuss.rubyonrails.org/u/Tashfeen_Ekram)\
**Post date:** [September 5, 2008, 1:24am UTC](https://discuss.rubyonrails.org/t/svn-question/33904/2 "2008-09-05T01:24:09Z")

</div>

any suggestions out there?

---

<div class="post-metadata">

**Author:** ![Frederick\_Cheung](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/frederick_cheung/32/3901_2.png) [@Frederick\_Cheung](https://discuss.rubyonrails.org/u/Frederick_Cheung)\
**Post date:** [September 5, 2008, 7:41am UTC](https://discuss.rubyonrails.org/t/svn-question/33904/3 "2008-09-05T07:41:38Z")

</div>

> any suggestions out there?
> 
> \> 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:** ![Ashutosh](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@Ashutosh](https://discuss.rubyonrails.org/u/Ashutosh)\
**Post date:** [September 5, 2008, 9:47am UTC](https://discuss.rubyonrails.org/t/svn-question/33904/4 "2008-09-05T09:47:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Miles\_Georgi](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@Miles\_Georgi](https://discuss.rubyonrails.org/u/Miles_Georgi)\
**Post date:** [September 5, 2008, 10:49am UTC](https://discuss.rubyonrails.org/t/svn-question/33904/5 "2008-09-05T10:49:45Z")

</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://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@Tashfeen\_Ekram](https://discuss.rubyonrails.org/u/Tashfeen_Ekram)\
**Post date:** [September 6, 2008, 3:11pm UTC](https://discuss.rubyonrails.org/t/svn-question/33904/6 "2008-09-06T15:11:52Z")

</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) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/../lib/ externals/e xt.rb:284:in `install' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/../lib/ externals/e xt.rb:154:in `send' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/../lib/ externals/e xt.rb:154:in `run' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/../lib/ externals/e xt.rb:153:in `chdir' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/../lib/ externals/e xt.rb:153:in `run' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from C:/ror/ruby/lib/ruby/gems/1.8/gems/ext-0.0.8/bin/ext:5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from C:/ror/ruby/bin/ext:19:in `load' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from C:/ror/ruby/bin/ext:19

---

<div class="post-metadata">

**Author:** ![Miles\_Georgi](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@Miles\_Georgi](https://discuss.rubyonrails.org/u/Miles_Georgi)\
**Post date:** [September 6, 2008, 8:24pm UTC](https://discuss.rubyonrails.org/t/svn-question/33904/7 "2008-09-06T20:24:11Z")

</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:** ![Miles\_Georgi](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@Miles\_Georgi](https://discuss.rubyonrails.org/u/Miles_Georgi)\
**Post date:** [September 6, 2008, 8:28pm UTC](https://discuss.rubyonrails.org/t/svn-question/33904/8 "2008-09-06T20:28:55Z")

</div>

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

> **[Digital.ai Agility an Agile Planning Solution](https://digital.ai/agility)**
>
> Scale and standardize agile across all levels of the organization to deliver software that provides more value with Digital.ai Agility enterprise agile planning tool

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!
