Work with ruby 1.8.7 (standard on mac), changed workflow and a few other things.