소스 검색

Fix broken gem instructions.
Signed-off-by: John Harris <john@johnharris.io>

johnharris85 9 년 전
부모
커밋
7f2a2b22fc
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      docs/tutorials/dockerimages.md

+ 6 - 2
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
 > Take note of the container ID that has been created, `0b2616b0e5a8`, as you'll
 > need it in a moment.
 > 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`
 Once this has completed let's exit our container using the `exit`
 command.
 command.