change node.js install script for mac os x.
change ruby install scripts for mac os x.