Install Ruby with readline supported on Mac

2013-09-26 22:17

Just a memo for installing ruby on Mac OSX with the feature of typing Chinese under ruby console.

brew install readline ruby-build
RUBY_CONFIGURE_OPTS=--with-readline-dir=`brew --prefix readline` rbenv install 1.9.3-p286

or to use pure Ruby readline

group :development do
  gem 'rb_readline'


除非注明,文章均为 wongyouth 原创,转载请注明本文地址:
  • 关于我
  • 破而后立 系统架构师
    全栈式 Rails 开发者
    关注 Web,移动,创业
  • 近期评论
    • 使用手机阅读或分享至微信朋友圈