Skip to content

Commit

Permalink
Add instructions to update bundler (#450)
Browse files Browse the repository at this point in the history
Often students have to run these commands the first time they `bundle
install`, so better to make them run it upfront probably.

resolve lewagon/fullstack-challenges#2522
  • Loading branch information
ajdubovoy authored Jan 22, 2024
1 parent eceb063 commit 4151bb3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _partials/cn/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ gem sources -l

在ruby的世界里,我们将外部的库称之为`gems`:他们是一些你可以下载并在你的电脑上运行的ruby代码。让我们一起安装一些!

首先,我们将更新`bundler`,它是用于安装 gem 的工具:

```bash
gem update bundler
bundle update --bundler
```

在你的终端里,复制粘贴下面的指令:

```bash
Expand Down
7 changes: 7 additions & 0 deletions _partials/es/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ gem sources -l

En el universo de ruby, a las librerías externas se les llama `gems`: son pedazos de código ruby que puedes descargar y ejecutar en tu computadora. ¡Instalemos algunas!

Primero, vamos a actualizar `bundler`, que es lo que nos permite instalar gemas:

```bash
gem update bundler
bundle update --bundler
```

En tu terminal, copia y pega el siguiente comando:

```bash
Expand Down
7 changes: 7 additions & 0 deletions _partials/fr/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ gem sources -l

Dans l’environnement ruby, les bibliothèques externes sont appelées des `gems` : ce sont des bouts de code ruby, que tu peux télécharger et exécuter sur ton ordinateur. On va en installer quelques-unes.

Tout d'abord, nous allons mettre à jour `bundler`, ce qui nous permet d'installer des gemmes :

```bash
gem update bundler
bundle update --bundler
```

Copie-colle la commande suivante dans ton terminal :

```bash
Expand Down
7 changes: 7 additions & 0 deletions _partials/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ gem sources -l

In the ruby world, we call external libraries `gems`: they are pieces of ruby code that you can download and execute on your computer. Let's install some!

First, we'll update `bundler`, which is what lets us install gems:

```bash
gem update bundler
bundle update --bundler
```

In your terminal, copy-paste the following command:

```bash
Expand Down

0 comments on commit 4151bb3

Please sign in to comment.