readline error during ruby 2.1.1 rbenv install
Doing a fresh install for ruby 2.x raise an readline.c: In function ‘Init_readline’
error
The errors raises if using readline 6.3.x, pretty common on Ubuntu 14.04 or Mavericks more details here
As a workaround you can downgrade to readline 6.2.x or install ruby using readline patch
curl -fsSL https://gist.github.com/mislav/a18b9d7f0dc5b9efc162.txt | rbenv install --patch 2.1.1
Written by Oscar Rendón
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rbenv
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#