DTrace enabled Ruby 1 dot 8 dot 5

Full Ruby DTrace provider set for Ruby 1.8.5

The subversion repository is at http://svn.joyent.com/opensource/dtrace/ruby/ruby-1.8.5/

The repository contains:

There are 3 binaries for Solaris provided here:

  • ruby-x86: Standard GCC build
  • ruby-CSK: Coolstack compliant build intended to drop into Coolstack 1.1
  • ruby-CSW: Blastwave drop-in binary

The warning regarding the ruby-CSW binary is that it breaks with Blastwave tradition of using Sun Studio. Instead, GCC (/usr sfw) was used, due to various build issues with Ruby 1.8.5 and Sun Studio that are not related to the DTrace patch. The build name has been changed to Solaris 2.8 to ensure that extensions continue to work. You’re better off using the csw binary for debugging only until we can get a fully compliant build (coming real real soon).

To manually generate a patch for Ruby 1.8.5 (in the case that the patch file in the repository lags HEAD) run:

svn diff -r1:HEAD http://svn.joyent.com/opensource/dtrace/ruby/ruby-1.8.5 > dtrace-patch

Consider this to be the bleeding edge. If something is in HEAD but not in the patch in the repository, there may be a good reason for that.