Ticket #13913 (closed enhancement: fixed)
Include Joyent's DTrace extensions for Ruby 1.8.6
| Reported by: | douglas@… | Owned by: | kimuraw@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | ruby |
Description
The Ruby binary distributed with Leopard has DTrace extensions enabled but the Ruby in MacPorts does not have DTrace compiled into it. Joyent has made the patch for enabling DTrace in 1.8.6 available at http://svn.joyent.com/opensource/dtrace/ruby/patches/ruby-dtrace-1.8.6.diff
Could this be added to the portfile as a patch?
Attachments
Change History
comment:2 Changed 5 years ago by moses@…
I have done this on my own (see http://rubyforge.org/projects/rubyport-dtrace). I would be happy to contribute that work back into MacPorts. It required some massaging of the Joyent DTrace patch to get it to compile with Apple's version of DTrace (which doesn't need to create a dtrace.o object file, just a dtrace.h header).
comment:3 Changed 5 years ago by pguyot@…
I will gladly include this patch if a macports committer with 10.5 could test it, as I don't have access to a 10.5 box.
Changed 5 years ago by florian.ebeling@…
- Attachment ruby-dtrace-examples.bz2 added
three dtrace examples from a sun blog
comment:4 Changed 5 years ago by florian.ebeling@…
For this ticket exists a partial duplicate in #14474, which also includes the Railsbench GC patch. I'd be really happy to see these things as options from maacports. I dont have commit bit myself, but I have prepared a few test from an example blog article, to get potential testers started. See attachment.
comment:5 Changed 5 years ago by jmr@…
- Owner changed from macports-tickets@… to pguyot@…
- Cc pguyot@… removed
comment:7 Changed 4 years ago by anonymous
- Milestone Port Enhancements deleted
Milestone Port Enhancements deleted

