欢迎来到cool的博客
7

Music box

Click to Start

点击头像播放音乐
新博客链接

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

rails c  出现bug:

dlopen(/Users/wenyuancheng/.rbenv/versions/2.5.1/lib/ruby/2.5.0/x86_64-darwin18/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib (LoadError)
  Referenced from: /Users/wenyuancheng/.rbenv/versions/2.5.1/lib/ruby/2.5.0/x86_64-darwin18/readline.bundle
  Reason: image not found - /Users/wenyuancheng/.rbenv/versions/2.5.1/lib/ruby/2.5.0/x86_64-darwin18/readline.bundle

 

https://github.com/rails/rails/issues/26658

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

返回列表