Install Plugins into vendor/plugins

Hi,

I’m using some plugins in rails 2.3.5 but they are not currently installed in app/vendor/plugins

How do I install them in the app/vendor/plugins?

thanks

installing in the vendor/plugins (not app ) directory is done with the use "script/plugin"

using "script/plugin -h" will get you full help

generally you install from a known a subversion URL:

   plugin install Peak Obsession

or you install a plugin from known a git URL:     plugin install git://github.com/SomeGuy/my_awesome_plugin.git

Ian Code and Culture :http://www.FalsePositives.com Building the People and Data Driven Web : http://www.ConnectedThinking.com

Using command "./script/plugin install path/to/plugin.git" does not install nothing to me. It never ends! 'command/plugin.rb' are using a 'git pull --depth 1 git://path/to/plugin.git' and this command never exits.

I found something about a similar problem here: https://rails.lighthouseapp.com/projects/8994/tickets/3743-scriptplugin-install-gitwhatever-does-nothing

The 'workaround' presented in there does not work for me (remove lines from ~/gitconfig). I'm installing plugins using 'git clone --depth 1' and running './vendor/plugins/pluginname/install.rb'.

If someone else solved a similar problem...

Filipe Quadros Borges wrote:

Using command "./script/plugin install path/to/plugin.git" does not install nothing to me. It never ends! 'command/plugin.rb' are using a 'git pull --depth 1 git://path/to/plugin.git' and this command never exits.

Then you probably need to install Git.

Best,

Ok :slight_smile: I already have git installed.

I discovered that some plugins install and some don't. I think it is more a git problem than a rails problem, but hope someone who experienced a similar problem can help.

Thanks!

How do I install them in the app/vendor/plugins?

thanks

What I do is use git to manually clone the repo into vendor/plugins, so that it's much easier to update with $ git pull

Download Code from Github put the extracted Code into vender/plugin and move foreword Or install Git and leran how to use it.

Fernando Perez wrote:

How do I install them in the app/vendor/plugins?

thanks

What I do is use git to manually clone the repo into vendor/plugins, so that it's much easier to update with $ git pull

Er, that's also what script plugin/install does. There's no benefit to doing it your way, particularly if manual cloning means that you don't run install.rb.

Best,

Er, that's also what script plugin/install does. There's no benefit to doing it your way,

Really? I thought it didn't used to. Anyway I have just moved away from plugins and now install them as gems (if available).

Cheers,