rbenv on OmniOS
16 June 2026

OmniOS has Ruby packages, but I like to use rbenv with the ruby-build plugin.

Ruby will build without patches, but you have to nudge it towards libyaml, and give it a tar capable of unpacking some long filenames.

$ CONFIGURE_OPTS="--disable-install-doc" \
  LDFLAGS="-L/opt/ooce/lib/amd64 -R/opt/ooce/lib/amd64" \
  CFLAGS="-I/opt/ooce/include" \
  PATH=/usr/gnu/bin:$PATH \
  rbenv install 4.0.5

Assuming you’ve got Rust installed, you’ll get the new YJIT, and some lovely DTrace probes.

tags