{"action":"closed","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/16963","labels_url":"https://api.github.com/repos/symfony/symfony/issues/16963/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/16963/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/16963/events","html_url":"https://github.com/symfony/symfony/issues/16963","id":121671174,"number":16963,"title":"Symfony3 gitignore prevents project from initialized","user":{"login":"lashae","id":20574,"avatar_url":"https://avatars.githubusercontent.com/u/20574?v=3","gravatar_id":"","url":"https://api.github.com/users/lashae","html_url":"https://github.com/lashae","followers_url":"https://api.github.com/users/lashae/followers","following_url":"https://api.github.com/users/lashae/following{/other_user}","gists_url":"https://api.github.com/users/lashae/gists{/gist_id}","starred_url":"https://api.github.com/users/lashae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lashae/subscriptions","organizations_url":"https://api.github.com/users/lashae/orgs","repos_url":"https://api.github.com/users/lashae/repos","events_url":"https://api.github.com/users/lashae/events{/privacy}","received_events_url":"https://api.github.com/users/lashae/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-11T09:35:41Z","updated_at":"2015-12-11T09:47:40Z","closed_at":"2015-12-11T09:47:39Z","body":"A new project generated in Symfony3 via the Symfony installer generates the following `.gitignore`file:\r\n\r\n    /app/config/parameters.yml\r\n    /bin/\r\n    /build/\r\n    /composer.phar\r\n    /vendor/\r\n    /web/bundles/\r\n    /var/\r\n    !var/cache/.gitkeep\r\n    !var/logs/.gitkeep\r\n    !var/sessions/.gitkeep\r\n    /phpunit.xml\r\n\r\nIf I add this code into a Git repository by executing following snippets:\r\n\r\n    lashae@Sinan:~/dummy/deneme$ git init\r\n    Initialized empty Git repository in /Users/lashae/dummy/deneme/.git/\r\n    lashae@Sinan:~/dummy/deneme$ git add --all\r\n    lashae@Sinan:~/dummy/deneme$ git commit -m \"Initial Commit\"\r\n    [master (root-commit) b8fbaf3] Initial Commit\r\n     31 files changed, 2848 insertions(+)\r\n     create mode 100644 .gitignore\r\n     create mode 100644 README.md\r\n     create mode 100644 app/.htaccess\r\n     create mode 100644 app/AppCache.php\r\n     create mode 100644 app/AppKernel.php\r\n     create mode 100644 app/Resources/views/base.html.twig\r\n     create mode 100644 app/Resources/views/default/index.html.twig\r\n     create mode 100644 app/autoload.php\r\n     create mode 100644 app/config/config.yml\r\n     create mode 100644 app/config/config_dev.yml\r\n     create mode 100644 app/config/config_prod.yml\r\n     create mode 100644 app/config/config_test.yml\r\n     create mode 100644 app/config/parameters.yml.dist\r\n     create mode 100644 app/config/routing.yml\r\n     create mode 100644 app/config/routing_dev.yml\r\n     create mode 100644 app/config/security.yml\r\n     create mode 100644 app/config/services.yml\r\n     create mode 100644 composer.json\r\n     create mode 100644 composer.lock\r\n     create mode 100644 phpunit.xml.dist\r\n     create mode 100644 src/.htaccess\r\n     create mode 100644 src/AppBundle/AppBundle.php\r\n     create mode 100644 src/AppBundle/Controller/DefaultController.php\r\n     create mode 100644 tests/AppBundle/Controller/DefaultControllerTest.php\r\n     create mode 100644 web/.htaccess\r\n     create mode 100644 web/app.php\r\n     create mode 100644 web/app_dev.php\r\n     create mode 100644 web/apple-touch-icon.png\r\n     create mode 100644 web/config.php\r\n     create mode 100644 web/favicon.ico\r\n     create mode 100644 web/robots.txt\r\n    lashae@Sinan:~/dummy/deneme$ git remote add origin https://lashae@git.mycompany.com/scm/sf3/test.git\r\n    lashae@Sinan:~/dummy/deneme$ git push -u origin master\r\n\r\nAnd clone it to other location:\r\n\r\n    lashae@Sinan:~/dummy/deneme-validation$ git clone https://lashae@git.mycompany.com/scm/sf3/test.git\r\n    Cloning into 'test'...\r\n    remote: Counting objects: 44, done.\r\n    remote: Compressing objects: 100% (39/39), done.\r\n    remote: Total 44 (delta 0), reused 0 (delta 0)\r\n    Unpacking objects: 100% (44/44), done.\r\n    Checking connectivity... done.\r\n\r\nAnd try to initialize it with `composer install` however I get the error at the end:\r\n\r\n    lashae@Sinan:~/dummy/deneme-validation/test$ composer install\r\n    Loading composer repositories with package information\r\n    Installing dependencies (including require-dev) from lock file\r\n      - Installing doctrine/lexer (v1.0.1)\r\n        Loading from cache\r\n    ...\r\n    ...\r\n    ...\r\n    \r\n    Script Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception\r\n                                                                                 \r\n      [RuntimeException]                                                         \r\n      An error occurred when executing the \"'cache:clear --no-warmup'\" command:  \r\n      Could not open input file: app/console              \r\n\r\nI suppose this is not intended result, am I doing something wrong or shouldn't symfony ignore `/bin/console`?                                                                                                 "}}