Unicode characters in Ruby 1.9.3 IRB with RVM

后端 未结 3 1626
执笔经年
执笔经年 2021-02-04 16:56

Update: I found almost exact similar question, yet it has slightly different prerequisites and thus doesn\'t help much.

Given:

  • Mac
3条回答
  •  迷失自我
    2021-02-04 17:28

    RVM has issues with readline installed via homebrew. This gist worked perfectly for me:

    $ rvm get latest
    $ rvm pkg install readline
    $ rvm install 1.9.3 --with-readline-dir=$rvm_path/usr
    

    Instead of install you can use reinstall.

提交回复
热议问题