[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-09 (世界標準時間)。"],[[["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."]]],[]]