rails c not working in rails 5

前端 未结 5 1932
太阳男子
太阳男子 2021-02-07 10:45

On using the command in terminal inside a rails 5 application

rails c

the error thrown is given bellow. I have no idea what this means in a si

5条回答
  •  庸人自扰
    2021-02-07 11:36

    I recently had this problem when I updated HomeBrew, I'm also working with rails 5 and found this solution and it worked for me:

    ln -s /usr/local/opt/readline/lib/libreadline.7.0.dylib /usr/local/opt/readline/lib/libreadline.6.dylib
    

    Source: https://gist.github.com/mcshakes/c87e8adda174c73be354094800b9756d

    UPDATE

    For readline 8 and newer versions, follow the answer given by @Cody Elhard

提交回复
热议问题