Browse code

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

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

Sebastiaan van Stijn authored on 2016/08/04 02:36:19
Showing 1 changed files
... ...
@@ -187,9 +187,13 @@ you'd like to update.
187 187
 > Take note of the container ID that has been created, `0b2616b0e5a8`, as you'll
188 188
 > need it in a moment.
189 189
 
190
-Inside our running container let's add the `json` gem.
190
+Inside our running container first let's update Ruby:
191 191
 
192
-    root@0b2616b0e5a8:/# gem install json
192
+    root@0b2616b0e5a8:/# apt-get install -y ruby2.0-dev
193
+
194
+Now let's add the `json` gem.
195
+
196
+    root@0b2616b0e5a8:/# gem2.0 install json
193 197
 
194 198
 Once this has completed let's exit our container using the `exit`
195 199
 command.