All threads / Installation

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?

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.

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.