Get framework working on rails 4 branch with new gemspecs