[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-04-03。"],[[["Ruby functions in Cloud Run utilize Bundler to manage dependencies, which can be downloaded during deployment or packaged locally with the function."],["Each function requires both a `Gemfile` listing dependencies, including the `functions_framework` gem, and a `Gemfile.lock` file specifying the exact versions of all transitive dependencies, located in the same directory as the function code."],["To install dependencies locally, the `bundle install` command is used, generating a `Gemfile.lock` if one does not exist, or the `bundle lock` command to generate one if it does not exist."],["Local gems can be packaged by including them in a subdirectory within the function's directory structure, specifying their path in the `Gemfile`, useful for private or unavailable dependencies through the public rubygems package manager."],["While Cloud Run installs the `functions_framework`, it's recommended to include it as an explicit dependency in the `Gemfile` for clarity, especially when mirroring `functions-framework` to a private registry for private dependencies."]]],[]]