From: SASADA Koichi Date: 2012-07-29T11:36:49+09:00 Subject: [ruby-core:46848] Re: [ruby-trunk - Feature #2565] adding hooks for better tracing Sorry for late response. (2012/07/03 13:26), vo.x (Vit Ondruch) wrote: > ko1 (Koichi Sasada) wrote: >> (but I can't understand sed script ^^; I prefer ruby script :) > > As I said, there are several conditions which should be fulfilled. If you don't want to > > 1) store the generated files in SCM > 2) generate the scripts during preparation of tarball by release manager > 3) want to have Ruby available during build from tarball > > than you don't have other option than to use something (in this case sed) what is probably available on your system during the build time. So although I would prefer Ruby, it does not fulfill the 3 conditions above. I don't check what dtrace needs correctly, but is not enough?: (1) build miniruby with dummy header (manged in SCM) (2) generate dtrace related files with miniruby (3) build ruby with (2) -- // SASADA Koichi at atdot dot net