1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #24736 from johnharris85/fix-sinatra-tutorial

Fix broken gem instructions.
(cherry picked from commit 29648795cd)

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Sebastiaan van Stijn 2016-08-03 19:36:19 +02:00 committed by Tibor Vass
parent 60db5f060e
commit 9aabd9c3f4

View file

@ -187,9 +187,13 @@ you'd like to update.
> Take note of the container ID that has been created, `0b2616b0e5a8`, as you'll
> need it in a moment.
Inside our running container let's add the `json` gem.
Inside our running container first let's update Ruby:
root@0b2616b0e5a8:/# gem install json
root@0b2616b0e5a8:/# apt-get install -y ruby2.0-dev
Now let's add the `json` gem.
root@0b2616b0e5a8:/# gem2.0 install json
Once this has completed let's exit our container using the `exit`
command.