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

前端 未结 8 747
囚心锁ツ
囚心锁ツ 2021-01-31 01:03

I try to run my rails c but for some reason, I get this error:

https://gist.github.com/anonymous/166713e8cde860fb188a8dffb98a1563

ᐅ rails c
         


        
相关标签:
8条回答
  • 2021-01-31 01:54

    i was having the same type of issue but it was due to the fact that my awk was linked to gawk leading to using the wrong lib

    this worked for me

    brew unlink gawk

    0 讨论(0)
  • 2021-01-31 01:55

    Just recompiled ruby version using updated readline from homebrew and it works like a charm.

    rbenv install $(rbenv version-name)
    
    0 讨论(0)
提交回复
热议问题