Added json gem... weirdly enough specs were passing locally before but not on Travis