New Symfony2 Project fails to update from Git using Composer

  • From: "NeilC" < >
  • To:
  • Subject: New Symfony2 Project fails to update from Git using Composer
  • Date: Fri, 23 Nov 2012 09:56:21 -0500

I have just created a new Symfony2 project and used composer.phar to install 
the necessary Vendors. All good so far.
Then I noticed that I had the wrong php.exe in my system variable path so I 
changed this to the correct exe and then ran a composer update.

All seemed okay except for a very strange message associated with Git, as 
shown below 

Code:
Loading composer repositories with package information
Updating dependencies
  - Removing doctrine/common (2.3.0)
  - Installing doctrine/common (2.3.x-dev bb0aebb)
    Cloning bb0aebbf234db52df476a2b473d434745b34221c


                                                                              
                                            
  [RuntimeException]                                                          
                                            
  Failed to clone http://github.com/doctrine/common, git was not found, check ;
that it is installed and in your PATH env.  
                                                                              
                                            
  'git' is not recognized as an internal or external command,                 
                                            
  operable program or batch file.     



How do I point to the Netbeans version of Git via my path???






New Symfony2 Project fails to update from Git using Composer

NeilC 11/23/2012

Re: New Symfony2 Project fails to update from Git using Composer

Tomas Mysik 11/26/2012

Project Features

About this Project

PHP was started in November 2009, is owned by Petr Jiricka, and has 235 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close