laravel/laravel — Issue #331: installing bundle
Author: reith2004
Created: 2012-02-12 02:07:57+00:00
State: open

Usually im doing like
```php
php artisan bundle:install eloquent
```
but when i tried that in the latest develop branch, it doesn't move the folder bundle in /storage/work/taylorotwell-eloquent-cebb7a7 into bundle directory when i tried to debug it this code in laravel / laravel / cli / tasks / bundle / providers / provider.php

```php
// Once we have the Zip archive, we can open it and extract it
// into the working directory. By convention, we expect the
// archive to contain one root directory, and all of the
// bundle contents should be stored in that directory.
$zip->extractTo($work);

$latest = File::latest($work)->getRealPath();
print_r($latest);
print_r($work);
@chmod($latest, 0777);

// Once we have the latest modified directory, we should be
// able to move its contents over into the bundles folder
// so the bundle will be usable by the develoepr.
File::mvdir($latest, $path);
```
the first print_r will result to /var/www/mysite/storage/work/.gitignore
and second print_r is correct /var/www/cyclechk/storage/work/Bundle

did i miss something?, my /var/www/ user is not root,