Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions _pages/install/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ source ~/.zshrc

## Install Ruby with rbenv

Now that rbenv is installed, let's install Ruby! We'll be installing version 3.4.1, but it could be that during the event you'll be asked to install a different version. In that case, just replace the version number in the command.
Now that rbenv is installed, let's install Ruby! We'll be installing version 3.4.7, but it could be that during the event you'll be asked to install a different version. In that case, just replace the version number in the command.

{% highlight sh %}
rbenv install 3.4.1
rbenv install 3.4.7
{% endhighlight %}

## Set default Ruby

rbenv allows us to manage a bunch of Ruby versions, but it doesn't always quite know which version you want to use. To help it with that, we'll tell it that the version we just installed is in fact the one we want to use.

{% highlight sh %}
rbenv global 3.4.1
rbenv global 3.4.7
{% endhighlight %}

Check that your Ruby version matches what you installed.
Expand All @@ -87,7 +87,7 @@ Check that your Ruby version matches what you installed.
ruby --version
{% endhighlight %}

The result should be something that includes the number `3.4.1`.
The result should be something that includes the number `3.4.7`.

If the version you get starts with `2.6`, first try restarting your terminal. If it still shows the wrong version something went wrong when setting up rbenv, and your Terminal is still using an older version of Ruby that ships with your Mac. Ask your coach, if present, for help, otherwise stop here and ask for help on the day of the workshop from one of the coaches.

Expand All @@ -105,7 +105,7 @@ Just like we did with Ruby, let's check whether Rails also installed successfull
rails --version
{% endhighlight %}

This should output `Rails 8.0.1`, but a higher version is also good.
This should output `Rails 8.0.3`, but a higher version is also good.

## Test if Rails works

Expand Down
4 changes: 2 additions & 2 deletions _pages/install/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you run into any problems during this guide, check the [Possible errors] sect
We'll start by installing Ruby, the primary programming language used during the workshop. This can be done using the RubyInstaller described below.

- Download the [RubyInstaller](https://rubyinstaller.org/downloads/) for Windows.
- [Direct link to Ruby 3.1.3 installer with Devkit](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.3-1/rubyinstaller-3.1.3-1-x86.exe) for 32-bit architecture.
- [Direct link to Ruby 3.4.7 installer with Devkit](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.7-1/rubyinstaller-devkit-3.4.7-1-x64.exe) for 64-bit architecture.
- Run the installer. Click through the installer using all the default options.
- Make sure the "Run 'ridk install'" checkmark is checked partway through the installer before continuing.
- When prompted with the "MSYS2" installer, enter `1` and press Enter.
Expand Down Expand Up @@ -78,7 +78,7 @@ Let's check whether Rails was installed successfully. Open the Windows Command P
rails --version
{% endhighlight %}

This should output `Rails 7.0.4.2`, but a higher version is also good.
This should output `Rails 8.0.3`, but a higher version is also good.

_If you run into any problems during this step, check the [Possible errors] section for possible solutions._

Expand Down