Ruby-build is the best-maintained Ruby installer.Īctive maintainers include from the CRuby core team, others and myself. Huge (25000 SLOC of Bash), hard to maintain, and due to that many bugs.The built Ruby can differ quite a bit from a standard build, which can cause extra issues.Binary builds of some CRuby versions on some platforms.Support the most Rubies, even very old ones (some with patches).Automatically installs system packages for many platforms.More platforms can be nice for beginners, but platform-specific code eventually always breaks due to incompatible changes in operating systems (e.g., package names). To be fair, RVM served me well at the time other Ruby installers/switchers did not exist. Which I really dislike as a Ruby implementer because it tends to break things in subtle ways (this behavior was later disabled when installing TruffleRuby). I had many uncertainties, and the large codebase plus a lot of global variables made it really tricky.Īs a result, there were multiple bugs and a lot more effort than for other Ruby installers.Īlso, RVM actually changes standard Ruby executables like rake, To give an idea, when I added support for TruffleRuby in RVM, Some features like gemsets seem much less needed nowadays as there is Bundler. To keep correct (note: I’m not counting test SLOC). Than all the others (25000 SLOC of Bash), and that makes it hard to maintain and That’s actually a doubled-edged sword, as it means RVM has a much larger codebase RVM is probably the oldest and certainly the TLDR: feel free to jump to the Conclusion and Recommendation. I am not reviewing Ruby installers or switchers for Windows as I have no experience with them. I contributed to all 3 Ruby installers when adding support for TruffleRuby,Īnd so I have experience both with their codebase and their usage. In this post I review the most popular Ruby installers (making it easier to install a Ruby)Īnd Ruby switchers (to switch between different Rubies conveniently).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |