minor rtt bugfixes
xcode and ruby tweaks