Git and script/plugin; How I pass the PATH variable?

RoR People,

I’m trying to use script/plugin and git.

I see this error:

mac2:/pt/webprops/mmhq/mm12/mymoney maco$ ruby script/plugin install
git://github.com/activescaffold/active_scaffold.git
removing:
/pt/webprops/mmhq/mm12/mymoney/vendor/plugins/active_scaffold/.git
sh: line 1: git: command not found
mac2:/pt/webprops/mmhq/mm12/mymoney maco$
mac2:/pt/webprops/mmhq/mm12/mymoney maco$

How do I pass the PATH environment variable to script/plugin?

I want script/plugin to find my copy of the git executable.

Here is info about my RoR:

mac2:/pt/webprops/mmhq/mm12/mymoney maco$
mac2:/pt/webprops/mmhq/mm12/mymoney maco$
mac2:/pt/webprops/mmhq/mm12/mymoney maco$ script/about
About your application’s environment
Ruby version 1.8.6 (powerpc-darwin8.4.0)
RubyGems version 1.0.1
Rails version 2.1.0
Active Record version 2.1.0
Action Pack version 2.1.0
Active Resource version 2.1.0
Action Mailer version 2.1.0
Active Support version 2.1.0
Application root /pt/webprops/mmhq/mm12/mymoney
Environment development
Database adapter sqlite3
Database schema version 20080617020902
mac2:/pt/webprops/mmhq/mm12/mymoney maco$
mac2:/pt/webprops/mmhq/mm12/mymoney maco$
mac2:/pt/webprops/mmhq/mm12/mymoney maco$

How do I pass the PATH environment variable to script/plugin?

-moi