Opened 16 years ago

Closed 13 years ago

#13913 closed enhancement (fixed)

Include Joyent's DTrace extensions for Ruby 1.8.6

Reported by: douglas@… Owned by: kimuraw (kimura wataru)
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 (1)

ruby-dtrace-examples.bz2 (2.3 KB) - added by florian.ebeling@… 16 years ago.
three dtrace examples from a sun blog

Download all attachments as: .zip

Change History (10)

comment:1 Changed 16 years ago by jmpp@…

Milestone: Port Enhancements

comment:2 Changed 16 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 16 years ago by pguyot (Paul Guyot)

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 16 years ago by florian.ebeling@…

Attachment: ruby-dtrace-examples.bz2 added

three dtrace examples from a sun blog

comment:4 Changed 16 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 16 years ago by jmroot (Joshua Root)

Cc: pguyot@… removed
Owner: changed from macports-tickets@… to pguyot@…

comment:6 Changed 16 years ago by kimuraw (kimura wataru)

Owner: changed from pguyot@… to kimuraw@…

comment:7 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Keywords: ruby dtrace removed
Port: ruby added
Version: 1.6.0

comment:9 Changed 13 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed

add a variant "dtrace" to port:ruby at r84346.

Note: See TracTickets for help on using tickets.