Fix broken gem instructions.
(cherry picked from commit 29648795cd3709063c0f4309148708bbb5a3e7bc)
| ... | ... |
@@ -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. |