Get the latest tech news
Rv, a new kind of Ruby management tool
For the last ten years or so of working on Bundler, I’ve had a wish rattling around: I want a better dependency manager. It doesn’t just manage your gems, it manages your ruby versions, too. It doesn’t just manage your ruby versions, it installs pre-compiled rubies so you don’t have to wait for ruby to compile from source every time. And more than all of that, it makes it completely trivial to run any script or tool written in ruby, even if that script or tool needs a different ruby than your application does.
Originally created as an alternative to pip, poetry, and all the other Python dependency managers, uv grew to encompass several existing tools, and has a few completely new tricks up its sleeve. No more changing a package as you install something new only to realize later you broke something old, no more setting up dependencies manually only to have the cronned script break later. Whether it’s a CLI tool, a webapp, or a random script, rv will always ensure your entire environment is correct as part of running the command.
Or read this on Hacker News