Installing plugins... is git necessary?

Hey Guys,

I tried the following on my rails 2.1.1 project:

script/plugin install acts_as_tree

and I got the following error:

Plugin not found: [“acts_as_tree”]

This method of installing plugins worked months ago on another rails
2.0+ project… Do I need to use github now?

Sonny.

Sonny C. wrote:

Hey Guys,

I tried the following on my rails 2.1.1 project:

script/plugin install acts_as_tree

and I got the following error:

Plugin not found: [“acts_as_tree”]

This method of installing plugins worked months ago on another rails
2.0+ project… Do I need to use github now?

Sonny.

You can go to github, and download the tarball, extract it in your
vendor/plugins folder, then follow instructions if any additional step
is required. Git is not compulsory, but highly recommended.


IT video training screencasts in french language: http://www.digiprof.fr

gem sources -a http://gems.github.com

Cheers, Sazima

On Jan 21, 9:55 pm, Sonny C. [email protected]

So the “script/plugin install …” script no longer works without git?

Sonny.

Fernando P. wrote:

Sonny C. wrote:

Hey Guys,

I tried the following on my rails 2.1.1 project:

script/plugin install acts_as_tree

and I got the following error:

Plugin not found: [“acts_as_tree”]

This method of installing plugins worked months ago on another rails
2.0+ project… Do I need to use github now?

Sonny.

You can go to github, and download the tarball, extract it in your
vendor/plugins folder, then follow instructions if any additional step
is required. Git is not compulsory, but highly recommended.


IT video training screencasts in french language: http://www.digiprof.fr

Thanks Sazima,

I added github as a source but I’m still getting the

Plugin not found: [“acts_as_tree”]

Sonny.

Sazima wrote:

gem sources -a http://gems.github.com

Cheers, Sazima

On Jan 21, 9:55�pm, Sonny C. [email protected]

I wrote recently an article about Rails, Git and plugin management. It
might be of interest to you:
http://harryseldon.thinkosphere.com/2009/01/14/git-and-rails-a-detailed-tutorial-including-plugins-submodules-development-and-production
H

Sonny C. wrote:

Thanks Sazima,

I added github as a source but I’m still getting the

Plugin not found: [“acts_as_tree”]

Sonny.

Sazima wrote:

gem sources -a http://gems.github.com

Cheers, Sazima

On Jan 21, 9:55�pm, Sonny C. [email protected]

Fernando’s instructions worked for me. Seems a bit tedious though -
working cli install would surely better?
I tried following Sazima’s instructions. Couldn’t find the plug-in
even with the git sources.

On Jan 22, 11:12 pm, Harry S. [email protected]