Setting Up Your Development Environment

To set up your environment for developing on Ruby:

  1. Install the latest release of Ruby.

    See Ruby Runtime for a list of the supported versions, or see Custom Runtimes for information about using other Ruby versions.

  2. Install and initialize the gcloud CLI for deploying and managing your apps. If you already have the gcloud CLI installed and initialized, run the gcloud components update command to update to the latest release.

    By downloading, you agree to be bound by the Terms that govern use of the gcloud CLI for App Engine.

Installing optional tools

  • For access to code, samples, libraries, and tools in GitHub, install Git:

    Install Git

  • Install your preferred tooling or framework, for example the Sinatra or Ruby on Rails frameworks.

  • To easily manage your Ruby dependencies, install Bundler:

    gem install bundler