symfony/symfony-installer — pull request #33 by adamelso (2014-10-25 20:11:11+00:00)
Title: Trim trailing slash to prevent renaming issues

The README suggests creating a new Symfony project with the command `symfony new blog/`. However the trailing slash makes the process throw an IOException, or at least this is true on OS X Yosemite. This PR will prevent this from happening.

With trailing slash

```bash
$ symfony new blogforranting/

Downloading Symfony...
10.44 MB/10.44 MB [▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋] 100%

Preparing project...

[Symfony\Component\Filesystem\Exception\IOException]
Cannot rename "/Users/adam/Sites/blogforranting/Symfony/app" to "/Users/adam/Sites/blogforranting//../../Symfony/app/".

new name [version]
```

Without trailing slash

```bash
$ symfony new blogforranting

Downloading Symfony...
10.44 MB/10.44 MB [▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋▋] 100%

Preparing project...

✔ Symfony was successfully installed. Now you can:

* Configure your application in app/config/parameters.yml file.

* Run your application:
1. Execute the php app/console server:run command.
2. Browse to the http://localhost:8000 URL.

* Read the documentation at http://symfony.com/doc
```