some ruby related tweaks