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

Contributions to this sample repository are always welcome and highly encouraged.

See CONTRIBUTING for more information on how to get started.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Code of Conduct for more information.

Licensing