Using Leopard's ruby with Macports' ruby libraries
As the subject states, I'm looking to find a way to use Leopard's ruby with Macport's ruby libraries like rb-rubygems, rb-mysql, et al. The main reason for doing this is so that I can use DTrace probes for ruby applications. Would a DTraced ruby be in the horizon for Macports? -- Practical Guile <http://practicalguile.com> Clever::Tagline::Pending
On Jan 13, 2008 5:49 AM, Douglas Tan <douglas@practicalguile.com> wrote:
As the subject states, I'm looking to find a way to use Leopard's ruby with Macport's ruby libraries like rb-rubygems, rb-mysql, et al. The main reason for doing this is so that I can use DTrace probes for ruby applications.
Would a DTraced ruby be in the horizon for Macports?
I don't have Leopard and won't see it for quite some time. What does it take to make an app DTrace-able? Is this something that can be done in the port? -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
Hi Douglas I have done this with a custom Portfile and a modified version of the Joyent DTrace Ruby patch (to make it compatible with Apple's DTrace implementation). See: http://www.moseshohman.com/blog/2008/02/21/macports-ruby-now-with-dtrace/ and http://rubyforge.org/projects/rubyport-dtrace I would be happy to help roll this back into the official MacPorts port if desired. Moses Douglas Tan-2 wrote:
As the subject states, I'm looking to find a way to use Leopard's ruby with Macport's ruby libraries like rb-rubygems, rb-mysql, et al. The main reason for doing this is so that I can use DTrace probes for ruby applications.
Would a DTraced ruby be in the horizon for Macports? --
-- View this message in context: http://www.nabble.com/Using-Leopard%27s-ruby-with-Macports%27-ruby-libraries... Sent from the MacPorts - Users mailing list archive at Nabble.com.
participants (3)
-
Douglas Tan
-
Moses
-
paul beard