For rubinius, require json gem in Gemfile.