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
http://dev.rubyonrails.com/svn/rails/plugins/continuous_builder

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…

On Wed, Jun 16, 2010 at 11:41 AM, Ian I. [email protected]
wrote:

plugin install git://github.com/SomeGuy/my_awesome_plugin.git


Filipe Quadros Borges
<<
email: [email protected]
msn: [email protected]

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!

On Thu, Jun 17, 2010 at 10:38 PM, Marnen Laibow-Koser
[email protected] wrote:


For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Filipe Quadros Borges
<<
email: [email protected]
msn: [email protected]

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.

On Sat, Jun 19, 2010 at 2:28 PM, Fernando P.
[email protected]wrote:

You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Thanks:
Rajeev sharma

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,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Fernando P. 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,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

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,