Ask A Question

Notifications

You’re not receiving notifications from this thread.

Installation

Aleksandr Dyuzhikov asked in Rails

Hi Chris, could you change hardcore installation nodejs in guides https://gorails.com/setup/ubuntu/18.04 to through https://github.com/nodenv/nodenv. Also I've found some script https://gist.github.com/fraserxu/23c2704cffa5a4cde79e1a48c087eca4#file-install_nodenv-sh to use this one. It's gonna be more helpful, because sometimes we need old version nodejs for one project and can use the latest on another projects. What do you think?

Reply

If you need that, sure. I would probably try to keep all my apps running the same Node version though and just update it on the server periodically. That way you can make sure none of your apps get neglected on an insecure Node version and keeps things simpler. That's what I'm currently doing.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 79,047+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.