Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib

后端 未结 11 1607
时光取名叫无心
时光取名叫无心 2021-01-30 01:57

When I try running rails console I get this error:

/Users/TuzsNewMacBook/.rvm/gems/ruby-2.3.7/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_         


        
11条回答
  •  无人及你
    2021-01-30 02:46

    A very simple solution that doesn't involve rebuilding your RVM gemset OR sym-linking libraries.

    Add to your Gemfile:

    gem 'rb-readline'
    

    If you are doing bundler groups

    group :development do
      gem 'rb-readline'
    end
    

    Then run

    > bundle
    

    Let me know if that doesn't work.

提交回复
热议问题