fix macruby nightly, trace logged functions, fix #1584