Skip to content

Instantly share code, notes, and snippets.

@alvin2ye
Created June 3, 2014 15:06
Show Gist options
  • Save alvin2ye/31bb0ca3865716b73dbf to your computer and use it in GitHub Desktop.
Save alvin2ye/31bb0ca3865716b73dbf to your computer and use it in GitHub Desktop.
Ubuntu 14.04 Install Ruby1.8.7 OR REE has Error "timeout.rb:60: [BUG] Segmentation fault"

失败原因是gcc 版本太高

gcc > 4.6 的版本,安装前需要

export CFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls"

已经编译的要删除重新编译。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment