A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/appengine/docs/flexible/ruby/specifying-dependencies below:

Specifying dependencies | Google App Engine flexible environment docs

Specifying dependencies

Stay organized with collections Save and categorize content based on your preferences.

Dependencies for Ruby applications are declared in a Gemfile file.

For example:

source "https://rubygems.org"

gem "rails"

You can use any Linux-compatible Ruby package in the App Engine flexible environment, including packages that require native (C) extensions.

The Ruby runtime will automatically install all dependencies declared in your Gemfile file during deployment.

Installing a web framework

You'll need to use a web framework to enable your app to serve web requests. You can use any Ruby web framework including the following:

To use a particular web framework, specify a startup command in your app.yaml file:

runtime: ruby
env: flex
entrypoint: rails server
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:

gem install google-cloud

The client library can automatically handle authentication for you locally as well by using Google Cloud CLI:

gcloud auth login

For details on configuring Cloud Client Libraries for Ruby to handle authentication automatically, see Authenticate to Cloud services using client libraries.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["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-08-07 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."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4