Fix to gemfile and missing require for json