level 1: futs around with OS X / brew / macports / whatevever package manager you pray to for hours to setup a dev env
level 2: virtualize your target platform with vmware fusion
level 3: vagrant + chef your target platform and rebuild them at will
The technical debt of level 1 will eventually kill you. Disclaimer: I am at level 1