Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib (LoadError)

If you got the error:

Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib (LoadError)

Try to create a symbolic link to the new library:

ln -s /usr/local/opt/readline/lib/libreadline.8.0.dylib /usr/local/opt/readline/lib/libreadline.7.dylib

This is not the best solution, but give a try and in most of the cases will solve the issue. libreadline is very stable.