Skip to content

Instantly share code, notes, and snippets.

@harrylove
Created October 9, 2012 17:02
Show Gist options
  • Save harrylove/3860060 to your computer and use it in GitHub Desktop.
Save harrylove/3860060 to your computer and use it in GitHub Desktop.
Install Ruby Enterprise Edition from source on SmartOS
# Install any dependencies with pkgin
pkgin in gmake ruby18 readline ncurses gcc47 curl apr apr-util apache ap22-xsendfile postgresql91
# Install REE
env CFLAGS="-I/opt/local/include -O2 -fno-tree-dce -fno-optimize-sibling-calls" ./ruby-enterprise/installer
# Test for segfault
gem update --system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment