编译报错信息
checking for readline/readline.h... no
....
extconf.rb:51:in `<main>': readline not found (RuntimeError)
configure: error: Failed to configure Ruby extension
需要安装readline这个库
Ubuntu下执行
sudo apt-get install libreadline-dev
CentOS之类的执行
yum install readline-devel
我要评论