Clarify step on creating a bootstrap gemfile

Signed-off-by: Usha Mandya <usha.mandya@docker.com>
This commit is contained in:
Usha Mandya 2021-04-30 12:10:51 +01:00
parent 5bf7caf5cc
commit 549ccdb99b
1 changed files with 2 additions and 3 deletions

View File

@ -41,13 +41,12 @@ with Ruby, Bundler and all your dependencies inside it. For more information on
how to write Dockerfiles, see the [Docker user guide](../get-started/index.md)
and the [Dockerfile reference](/engine/reference/builder/).
Next, create a bootstrap `Gemfile` which just loads Rails. It'll be overwritten
in a moment by `rails new`.
Next, open an editor and create a bootstrap `Gemfile` which just loads Rails. This will be overwritten in a moment by `rails new`.
source 'https://rubygems.org'
gem 'rails', '~>5'
Create an empty `Gemfile.lock` to build our `Dockerfile`.
Create an empty `Gemfile.lock` file to build our `Dockerfile`.
```console
$ touch Gemfile.lock