Skip to content

GoogleCloudPlatform/ruby-docs-samples

Ruby docs samples

Ruby 2.4: Kokoro Ruby 2.5: Kokoro

This repository holds samples used in the ruby documentation on cloud.google.com.

See our other Google Cloud Platform github repos for sample applications and scaffolding for other frameworks and use cases.

Google Cloud Samples

To browse ready to use code samples check Google Cloud Samples.

Run Locally

  1. Clone this repo.

    git clone https://github.com/GoogleCloudPlatform/ruby-docs-samples.git
    
  2. Change directories to the sample that you want to test. Example:

    cd ruby-docs-samples/storage
    
  3. Run the tests from the command line.

    bundle install
    bundle exec rspec
    

Contributing changes