/ruby-on-whales

Ruby on Whales example and templates

Primary LanguageRubyMIT LicenseMIT

Ruby on Whales

This repository contains an example dockerized Ruby on Rails development configuration based on the Ruby on Whales blog post.

Example configuration

See the example folder.

Interactive generator

We also provide an interactive generator for Rails apps to quickly setup a dockerized environment for your app. Just run the following command and follow the instructions:

bundle exec rails app:template LOCATION='https://railsbytes.com/script/z5OsoB'

You can also run it via Ruby Bytes (so you can dockerize a Rails app without installing it on your host machine):

rbytes install https://railsbytes.com/script/z5OsoB

See also

License

The code is available as open source under the terms of the MIT License.