Closed lashae closed 8 years ago
i think something else is wrong because it does look for "app/console" but the file is in "bin/console", maybe something with Sensio DistributionBundle is broken
There was a bug in the symfony-installer currently, which does not keep the right gitignore file for Symfony 3. It has been fixed in the 1.5 release of the installer: https://github.com/symfony/symfony-installer/pull/218 To fix existing projects, copy the gitignore file from the symfony-standard repo and re-add the bin/console file to your git repo
@lashae and don't forget to update your Installer executing symfony self-update
@stof @javiereguiluz Thanks my issue is resolved.
A new project generated in Symfony3 via the Symfony installer generates the following
.gitignore
file:If I add this code into a Git repository by executing following snippets:
And clone it to other location:
And try to initialize it with
composer install
however I get the error at the end:I suppose this is not intended result, am I doing something wrong or shouldn't symfony ignore
/bin/console
?