11/22/2023 0 Comments Switch between ruby versions linux![]() ![]() ![]() The other disadvantage might be not getting some features that more complex version managers offer, such as gem sets. To battle this problem Red Hat offered newer versions as Software Collections, but true, then you have to go learn about scl-utils instead of RVM, which is not that ideal either. So is there any disadvantage to this? Of course! If there isn’t people would not invent version managers in the first place! For one you might be getting really old version with your system, sometimes that old that upstream don’t support it any longer (but the vendor might!). “Lock the application dependencies” they say!įor me the choice is about security (updates for free) and reduced complexity (not managing another tool in production especially not a tool that suggest its installation by running a remote bash script!). Yet so many people out there oppose the idea it seems. Managing as many components with system package managers (such as DNF) is great and that’s why we have them. Getting security patches for free with system updates is nice. Yes it’s packaged for programs that actually need it as a dependency, but it’s also there for everybody else! Big companies pay big money to be able to use tested and security-patched packages (be it Ruby or Apache HTTP server) on enterprise platforms and you don’t even take 5 minutes to find out if it can suit your need?īut I not only like to use system Ruby for development, I also use it for deployment when I can. What is even worse is that our community actively discourage the use of packaged (system) Ruby. Why do you want to use a version manager – learn it and fight it when you don’t yet understand it – even before actually programming Ruby for a while? “But RVM is great!” you say? Perhaps, but every tool introduce some complexity. I have seen beginners to install RVM for a one-day-i-want-to-try-it-out. What I don’t find ideal is that so many Ruby tutorials are just starting with installing a Ruby version manager (often RVM). ![]() This is especially true on systems such as Fedora that always have a new Ruby version available (time to switch to Fedora!), but also kind of true on others (even latest Mac OS X/macOS has at least 2.0 and when I used Mac OS it was even pre-installed!). If you are a beginner or someone who just want to try Ruby chances are you don’t need a Ruby version manager. This is a little thought on packaged Ruby versions (mostly in Linux-based systems) and why I don’t get many people advising newcomers to start by installing RVM when in reality they just want to program Ruby. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |