To use a particular web framework, specify a startup command in your app.yaml
file:
runtime:rubyentrypoint:railsserver
Installing the Cloud Client Libraries
The Cloud Client Libraries for Ruby is a client
library for accessing Google Cloud services that significantly reduces
the boilerplate code you have to write. The library provides high-level API
abstractions so they're easier to understand and means you spend more time
creating code that matters to you.
To install the library locally:
geminstallgoogle-cloud
The client library can automatically handle authentication for you locally as
well by using Google Cloud CLI:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["Ruby application dependencies are declared in a `Gemfile`, and the runtime automatically installs these dependencies during deployment."],["Any Linux-compatible Ruby package, including those with native extensions, can be used in the App Engine standard environment."],["A web framework, such as Ruby on Rails, Sinatra, or Rack, is necessary to serve web requests, and the specific framework should be defined with an `entrypoint` in the `app.yaml` file."],["The Cloud Client Libraries for Ruby simplify interactions with Google Cloud services and reduce the amount of boilerplate code required."],["The Cloud Client Libraries can be installed locally using the `gem install google-cloud` command and can handle authentication automatically using the `gcloud auth login` command."]]],[]]