Skip to content

Instantly share code, notes, and snippets.

@jkuchar
Created May 9, 2015 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkuchar/4b349fad1a640fc13eb2 to your computer and use it in GitHub Desktop.
Save jkuchar/4b349fad1a640fc13eb2 to your computer and use it in GitHub Desktop.
Nette 2.3 RobotLoader invocation bug
{
"require": {
"nette/application": "~2.3",
"nette/bootstrap": "~2.3"
}
}
<?php
require __DIR__ . '/vendor/autoload.php';
$configurator = new Nette\Configurator;
$configurator->setTempDirectory(__DIR__ . '/tmp');
return $configurator->createContainer();
@jkuchar
Copy link
Author

jkuchar commented May 9, 2015

I get

PHP Fatal error:  Class 'Nette\Loaders\RobotLoader' not found in vendor\nette\application\src\Bridges\ApplicationDI\ApplicationExtension
.php on line 126

Fatal error: Class 'Nette\Loaders\RobotLoader' not found in vendor\nette\application\src\Bridges\ApplicationDI\ApplicationExtension.php
on line 126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment