New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SncRedisBundle fails if predis is not present #335
Comments
I'm closing as this is an issue in the bundle itself. You should report it there. Thank you. |
@fabpot We indeed make the assumption that predis is available in the recipe: https://github.com/symfony/recipes-contrib/blob/master/snc/redis-bundle/2.0/config/packages/snc_redis.yaml#L4 |
Apart from the bundle not handling it nicely it's also a broken recipe that needs fixing - it generates config now which depends on a component that may never get installed in the entire project, making it a crash waiting to happen. It should just suggest something in comments. |
The recipe should not be opinionated about using phpredis or predis as the bundle supports both. Fixes symfony#335
Currently, when installing SncRedisBundle, it seems to assume that Predis is installed:
I guess this error comes from the default configuration which has
predis
as default connection type. After installing predis, the bundle can be installed.The text was updated successfully, but these errors were encountered: