A tutorial for creating a complete application using Ruby on Google Cloud Platform
Ruby HTML Shell CSS JavaScript
Latest commit 1fd32e7 Dec 5, 2016 @remi remi committed on GitHub Merge pull request #74 from GoogleCloudPlatform/fix-book-not-foundw
Fixing worker failure when no book is found


Getting Started Ruby

Travis Build Status

Checkout branches to view particular steps of this sample application.

Ruby on Rails web application on Google Managed VMs.


To run the application, first install dependencies:

$ bundle install

And then run the Rails web server:

$ rails server

To run the tests

$ bundle install
$ bundle exec rspec

To deploy to App Engine Managed VMs

Install the Google Cloud SDK:

$ curl https://sdk.cloud.google.com | bash

And then deploy the application:

$ gcloud app deploy

The application Dockerfile uses the google/ruby-runtime Docker image which supports running any Ruby web application.

The ruby-runtime image requires that your application directory contain the following:

  • Gemfile file declaring application dependencies
  • config.ru rackup file defining your web application

Contributing changes