Rails server giving Readline support error
I solved the issue by (commands for mac with homebrew and rbenv):
- installing readline
brew install readline
- reinstalling / recompiling ruby
rbenv install 2.3.1
July 2019 on Mac
I faced this same issue on my machine & running the following command solved it, note that even if you have version 8 of readline you still need to link to version 7 as shown:
ln -s /usr/local/opt/readline/lib/libreadline.dylib /usr/local/opt/readline/lib/libreadline.7.dylib
To fix this (for OSX, tested on Sierra), run following command in your shell -
ln -s /usr/local/opt/readline/lib/libreadline.dylib /usr/local/opt/readline/lib/libreadline.6.dylib