[managing multiple Ruby installations]

Maxim Abalenkov maxim.abalenkov at gmail.com
Fri Dec 16 11:29:42 UTC 2022


Dear all,

How are you? I hope all is well with you. I need help please. Can you please guide me, on how to use and manage multiple Ruby installations with MacPorts? I use Ruby primarily for static website generation with Jekyll. But every time a new Ruby version comes it, it is a little bit of a guesswork to make Jekyll work again. I thought I would ask the experts here.

Issuing the `port search ruby` command I see `chruby, ruby31, ruby_select, rb-bundler` which should all be helpful for me. But how do I use them in an elegant way, switching between existing Ruby versions?

I remember following the official Jekyll installation guide: https://jekyllrb.com/docs/installation/macos/ <https://jekyllrb.com/docs/installation/macos/> But I don’t like, that `ruby-install` installs everything, Ruby and gems, into my home directory. This is not the place for installation files.

Thank you for your help and have a wonderful day ahead!

—
Best wishes,
Maxim

Maxim Abalenkov \\ maxim.abalenkov at gmail.com
+44 7 486 486 505 \\ www.maxim.abalenkov.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221216/3bfbbbcc/attachment.htm>


More information about the macports-users mailing list