Upgrade Ruby version

Add JSON to RatingsController