use cask for package management
fix up ruby magic