To use a particular web framework, specify a startup command in your app.yaml
file:
runtime:rubyenv:flexentrypoint: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 managed in a `Gemfile`, which is automatically processed during deployment to install all required packages."],["The App Engine flexible environment supports any Linux-compatible Ruby package, including those with native (C) extensions."],["A web framework is required to serve web requests, and popular options like Ruby on Rails, Sinatra, and Rack are supported."],["The `app.yaml` file must specify a startup command to indicate which web framework will be used by the application."],["The Cloud Client Libraries for Ruby, installable via `gem install google-cloud`, are available to simplify interactions with Google Cloud services and manage authentication."]]],[]]