Skip to content

Installing Rails: Clear reference on what yarn version to install #30977

@tobias-tiefert

Description

@tobias-tiefert

Checks

Describe your suggestion

Installing Yarn was very confusing. It wasn't difficult, but on the website you are linking (https://classic.yarnpkg.com/en/docs/install#windows-stable) is a reference telling that this version of Yarn is in maintenance mode since 6 years ago.
I didn't know if I really was supposed to install Yarn 1.22.22 or if this maybe was mistake you had overlooked.

After rereading everything a couple of times I saw that you mention "Yarn Classic" as the version we are meant to install. But it was easy to overlook and not 100% clear. I also wish there was a little bit of context (why the classic version and not the new one).

The section about yarn also tells something about import maps being provided in Rails 7. Since the current version is Rails 8 this added to my suspicions that the article might not be up to date.

Path

Ruby / Rails

Lesson Url

https://www.theodinproject.com/lessons/ruby-on-rails-installing-rails

(Optional) Discord Name

No response

(Optional) Additional Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions