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 Cloud SDK. If you already have the Cloud SDK installed and initialized, run the gcloud components update command to update to the latest release.

    The Cloud SDK provides you the gcloud command-line tool for deploying and managing your apps.

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

    Install and initialize the Cloud SDK

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