DEV Community

Cover image for Let's prepare your mac for development. Stop having version conflicts.
SaKKo
SaKKo

Posted on

1

Let's prepare your mac for development. Stop having version conflicts.

Hi everyone,

During my first few years of programming, the first struggle I have is how to manage multiple versions of Ruby.

It's been a very painful programming experience. I have to keep upgrading Ruby in the older projects in order to maintain them.

I know it's a good practice to keep everything up to date, but sometimes, it's just a side project and not worth spending time on.

That was 9 years ago.... If you are having the same problem as me with Ruby, Python, and NodeJS.

Here is the solution,

  • Ruby use RVM
  • Python use pyenv
  • NodeJS use NVM

I made a video to explain.

Alt Text

Hope you find it useful

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (2)

Collapse
 
davidolrik profile image
David Jack Wange Olrik

Also check out asdf which does the same but with just one command.

Collapse
 
sakko profile image
SaKKo

wow, thank you so much

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay