Update dependencies in Gemfile and package.json.