From 9aabd9c3f4e95843458cd73b0b2305e19f3267a0 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 3 Aug 2016 19:36:19 +0200 Subject: [PATCH] Merge pull request #24736 from johnharris85/fix-sinatra-tutorial Fix broken gem instructions. (cherry picked from commit 29648795cd3709063c0f4309148708bbb5a3e7bc) Signed-off-by: Tibor Vass --- docs/tutorials/dockerimages.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/dockerimages.md b/docs/tutorials/dockerimages.md index 619ac14898..34d66fdf79 100644 --- a/docs/tutorials/dockerimages.md +++ b/docs/tutorials/dockerimages.md @@ -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.