Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib (LoadError)
This command fix my problem:
ln -s /usr/local/opt/readline/lib/libreadline.7.0.dylib /usr/local/opt/readline/lib/libreadline.6.dylib
OR
ln -s /usr/local/opt/readline/lib/libreadline.8.0.dylib /usr/local/opt/readline/lib/libreadline.7.dylib
I wrote a Gist about this problem here. There are many people sharing their solutions there too.
Add this gem to your Gemfile and run bundle install
:
gem 'rb-readline'