ruby-install icon indicating copy to clipboard operation
ruby-install copied to clipboard

Instructions for upgrading ruby-install

Open eregon opened this issue 7 years ago • 3 comments

Currently, the README doesn't say how to upgrade to the latest ruby-install (which is necessary, e.g. for installing TruffleRuby).

For instance ruby-build has an explicit section for this: https://github.com/rbenv/ruby-build#upgrading

Is upgrading the same as the Install instructions ? I guess that's mostly fine but it might leave some files behind. In any case, it would be worth mentioning how to upgrade in the README.

I've also played with running bin/ruby-install from a git checkout and that seemed to work well. So it doesn't seem necessary to run make install. Maybe we should mention that as a possibility in the README?

eregon avatar Aug 05 '18 13:08 eregon

@postmodern @havenwood Congrats on the 0.7.0 release by the way :)

eregon avatar Aug 05 '18 13:08 eregon

Depending on your operating system, but when I’m using Ubuntu I’m managing ruby-install and chruby with Linuxbrew (with non-standard installation location because I don’t want to share it with other users).

FranklinYu avatar Jan 08 '20 10:01 FranklinYu

If you installed ruby-install directly from source, and not a package manager, then upgrading is as simple as performing the same installation as the previous ruby-install version; this is standard behavior for the vast majority of *nix command-line utilities AFAIK. Should we add another section listing all of the upgrade commands for the various package managers that offer ruby-install?

postmodern avatar Jan 14 '20 01:01 postmodern