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

前端 未结 8 888
囚心锁ツ
囚心锁ツ 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:36

    I installed the ruby of same version over again. Then the error message is gone now. I use macbook and homebrew.

    $ rbenv install 2.3.8
    rbenv: /Users/klee/.rbenv/versions/2.3.8 already exists
    continue with installation? (y/N) y
    ruby-build: use openssl from homebrew
    Downloading ruby-2.3.8.tar.bz2...
    -> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2
    Installing ruby-2.3.8...
    ruby-build: use readline from homebrew
    Installed ruby-2.3.8 to /Users/klee/.rbenv/versions/2.3.8
    

提交回复
热议问题